Skip to main content

Module multidimensional_fft

Module multidimensional_fft 

Source
Expand description

Multidimensional FFTs: transforms along one axis, or over every axis of a 2D, 3D or N-D array.

See the book entry Real and multidimensional FFTs.

Functions§

fft2
The 2D DFT of a matrix (rows and columns).
fft3
The 3D DFT of a volume.
fft_axis
Transforms every 1D lane of data along axis in place. Inverse transforms are scaled by 1 / len, so a forward and inverse pass along the same axis is the identity.
fftn
The N-dimensional DFT X[k] = Σ x[n] e^{∓2πi Σ_d k_d n_d / N_d} over every axis (the inverse is scaled by 1 / Π N_d). Any lengths are supported.
fftshift
Rearranges a spectrum so the zero-frequency bin is at the centre along every axis (like NumPy’s fftshift).
ifft2
The inverse 2D DFT (scaled by 1 / (rows · columns)).
ifft3
The inverse 3D DFT.