### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Fourier transforms (`numpy.fft`) »

# numpy.fft.fftshift

`numpy.fft.``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`

### Navigation

- index
- modules |
- next |
- previous |
- NumPy v1.3 Manual (DRAFT) »
- NumPy Reference »
- Routines »
- Fourier transforms (`numpy.fft`) »