cupynumeric.fft.ifftshift#

cupynumeric.fft.ifftshift(
x: ndarray,
axes: int | tuple[int, ...] | None = None,
) ndarray#

The inverse of fftshift. Although identical for even-length x, the functions differ by one sample for odd-length x.

Parameters:
  • x (array_like) – Input array.

  • axes (int or shape tuple, optional) – Axes over which to calculate. Defaults to None, which shifts all axes.

Returns:

y – The shifted array.

Return type:

ndarray

Availability:

Multiple GPUs, Multiple CPUs