Skip to main content

fftfreq

Function fftfreq 

Source
pub fn fftfreq(n: usize, d: f64) -> Vec<f64>
Expand description

The sample frequencies of an n-point DFT with sample spacing d (NumPy’s fftfreq): [0, 1, …, ⌈n/2⌉−1, −⌊n/2⌋, …, −1] / (n d), in the order the FFT returns its bins.