pub fn local_maxima(magnitudes: &[f64]) -> Vec<usize>
Returns the bins of the strict local maxima of a magnitude spectrum, skipping the first and the last bin.