Skip to main content

strongest_peak

Function strongest_peak 

Source
pub fn strongest_peak(
    magnitudes: &[f64],
    lo: usize,
    hi: usize,
    span: usize,
) -> Option<Peak>
Expand description

Returns the interpolated peak with the largest magnitude between bins lo and hi inclusive, or None when the range holds no local maximum.