〰️
Fourier Analysis
Discrete Fourier transforms: fft and ifft for real and complex vectors.
fft
Discrete Fourier transform of a vector.
fft(a: NDArray) → r
fftfreq
DFT sample frequencies for a length-n signal with sample spacing d.
fftfreq(n: Int64) → r
fftshift
Shift the zero-frequency component to the center of the spectrum.
fftshift(a: NDArray) → r
ifft
Inverse discrete Fourier transform of a vector (includes the 1/n scale).
ifft(a: NDArray) → r
ifftshift
Inverse of fftshift (differs only for odd-length inputs).
ifftshift(a: NDArray) → r