Skip to main content

local_maxima

Function local_maxima 

Source
pub fn local_maxima(magnitudes: &[f64]) -> Vec<usize>
Expand description

Returns the bins of the strict local maxima of a magnitude spectrum, skipping the first and the last bin.