pub fn spectral_hr_peak(trace: &[f32], fps: f32) -> Result<HrEstimate, CvError>
Estimate HR from pulse trace. fps sample rate. Band 40–180 BPM.
fps