numpy.fft.fft2()

numpy.fft.fft2

numpy.fft.fft2(a, s=None, axes=(-2, -1), norm=None) [source]

Compute the 2-dimensional discrete Fourier Transform

This function computes the n-dimensional discrete Fourier Transform over any axes in an M-dimensional array by means of the Fast Fourier Transform (FFT). By default, the transform is computed over the last two axes of the input array, i.e., a 2-dimensional FFT.

Parameters:

a : array_like

Input array, can be com