jax.numpy.fft.fftshift
jax.numpy.fft.fftshift#
- jax.numpy.fft.fftshift(x, axes=None)[source]#
Shift the zero-frequency component to the center of the spectrum.
LAX-backend implementation of
numpy.fft.fftshift()
.Original docstring below.
This function swaps half-spaces for all axes listed (defaults to all). Note that
y[0]
is the Nyquist component only iflen(x)
is even.