pub fn magnitude(real: &[f64], imag: &[f64]) -> Vec<f64>
The magnitude of each bin: hypot(real, imag).
hypot(real, imag)
Takes slices rather than a Spectrum on purpose — a caller whose spectrum lives in its own type passes its own two columns.
Spectrum