fft2(x, shape=None, axes=(-2,-1), overwrite_x=0) -> y
Return two-dimensional discrete Fourier transform of arbitrary type sequence x.
See fftn.__doc__ for more information.
scipy.fftpack.ifftn
scipy.fftpack.ifft2