numpy.fft.fft2

numpy.fft.fft2(a, s=None, axes=(-2, -1))

Compute the 2-D FFT of an array.

Parameters:

a : array_like

Input array. The rank (dimensions) of a must be 2 or greater.

s : shape tuple

Shape of the FFT.

axes : sequence of 2 ints

The 2 axes over which to compute the FFT. The default is the last two axes (-2, -1).

Notes

This is really just fftn with different default behavior.

Previous topic

numpy.fft.ifft

Next topic

numpy.fft.ifft2

This Page

Quick search