nlcpy.fft.rfft2

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

Computes the 2-dimensional FFT of a real array.

Parameters
aarray

Input array, taken to be real.

ssequence of ints, optional

Shape of the FFT.

axessequence of ints, optional

Axes over which to compute the FFT.

norm{None, “ortho”},optional

Normalization mode. By default(None), the transforms are unscaled. It norm is set to “ortho”, the return values will be scaled by 1/\sqrt{n}.

Returns
outndarray

The result of the real 2-D FFT.

See also

rfftn

Computes the n-dimensional discrete fourier transform for a real array.

Note

This is really just rfftn() with different default behavior. For more details see rfftn().