qrs_erp: sampling rate can be NaN (to be known at runtime)