cupyx.scipy.fft.ifftn

cupyx.scipy.fft.ifftn(x, s=None, axes=None, norm=None, overwrite_x=False, *, plan=None)

Compute the N-dimensional inverse FFT.

Parameters
  • x (cupy.ndarray) – Array to be transformed.

  • s (None or tuple of ints) – Shape of the transformed axes of the output. If s is not given, the lengths of the input along the axes specified by axes are used.

  • axes (tuple of ints) – Axes over which to compute the FFT.

  • norm (None or 'ortho') – Normalization mode.

  • overwrite_x (bool) – If True, the contents of x can be destroyed.

  • plan (cupy.cuda.cufft.PlanNd or None) –

    a cuFFT plan for transforming x over axes, which can be obtained using:

    plan = cupyx.scipy.fftpack.get_fft_plan(x, s, axes)
    

    Note that plan is defaulted to None, meaning CuPy will use an auto-generated plan behind the scene.

Returns

The transformed array which shape is specified by s and type will convert to complex if that of the input is another.

Return type

cupy.ndarray