scipy.fftpack.fftshift

scipy.fftpack.fftshift(x, axes=None)

Shift zero-frequency component to center of spectrum.

This function swaps half-spaces for all axes listed (defaults to all). If len(x) is even then the Nyquist component is y[0].

Parameters:

x : array_like

Input array.

axes : int or shape tuple, optional

Axes over which to shift. Default is None which shifts all axes.

See also

ifftshift

Previous topic

scipy.fftpack.shift

Next topic

scipy.fftpack.ifftshift

This Page

Quick search