cupyx.scipy.fft.fftshift#
- cupyx.scipy.fft.fftshift(x, axes=None)[source]#
Shift the zero-frequency component to the center of the spectrum.
- Parameters:
x (cupy.ndarray) – Input array.
axes (int or tuple of ints) – Axes over which to shift. Default is
None
, which shifts all axes.
- Returns:
The shifted array.
- Return type:
See also