Function spectrum_analyzer::hann_window [−][src]
pub fn hann_window(samples: &[f64]) -> Vec<f64>
Applies a Hann window (https://en.wikipedia.org/wiki/Window_function#Hann_and_Hamming_windows) to an array of samples.
Return value
New vector with Hann window applied to the values.