Skip to main content

Module fft

Module fft 

Source

Structs§

FFTConfig
Configuration for FFT processing.
FFTProcessor

Enums§

FFTDirection
FFT direction (forward or inverse transform).

Functions§

fft_1d_rows
Compute 1D FFT magnitude for each row of a 2D array using rustfft. Returns a Float64 array with half the padded width (positive frequencies only). Like C++ NDPluginFFT, each row is zero-padded to the next power of two before the transform, and nFreqX = paddedWidth / 2. Magnitudes are normalized by the padded length.
fft_2d
Compute 2D FFT magnitude using separable row-then-column FFT via rustfft.
next_pow2
Smallest power of two greater than or equal to n (C++ nextPow2).