pub fn spectrum_peaks(spectrum: &[f64], count: usize) -> Vec<usize>
The indices of the count largest local maxima of a spectrum sampled on a 1D grid (ends count when they exceed their single neighbour), strongest first.
count