pub fn fftfreq_balanced<F, I>(n: usize, d: F) -> Iwhere
F: Float + FloatConst + NumAssign + 'static,
usize: AsPrimitive<F>,
i32: AsPrimitive<F>,
for<'c> I: Iterable<OwnedItem = F, Item<'c> = &'c F>,
Expand description
Computes the frequency values associated fft based on n
the length
of the collection and d
the sampling period but the frequency values
are symmetric about the y-axis i.e. same the scipy
’s fftfreq
function