bundles / scipy 1.18.0 / scipy / fftpack / _basic / fft2
function
scipy.fftpack._basic:fft2
source: /scipy/fftpack/_basic.py:372
Signature
def fft2(x, shape = None, axes = (-2, -1), overwrite_x = False)Summary
2-D discrete Fourier transform.
Extended Summary
Return the 2-D discrete Fourier transform of the 2-D argument x.
Examples
import numpy as np from scipy.fftpack import fft2, ifft2 y = np.mgrid[:5, :5][0] y np.allclose(y, ifft2(fft2(y)))✓
True
See also
- fftn
for detailed information.
Aliases
scipy.fftpack.fft2