Skip to main content

spectral_hr_peak

Function spectral_hr_peak 

Source
pub fn spectral_hr_peak(trace: &[f32], fps: f32) -> Result<HrEstimate, CvError>
Expand description

Estimate HR from pulse trace. fps sample rate. Band 40–180 BPM.