ifft#
- pynlo.utility.fft.ifft(x, fsc=1.0, n=None, axis=-1, overwrite_x=False)[source]#
Use MKL to perform a 1D IFFT of the input array along the given axis.
- Parameters:
- xarray_like
Input array, can be complex.
- fscfloat, optional
The forward transform scale factor. Internally, this function sets the reverse transform scale factor as
1/(n*fsc)
. The default is 1.0.- nint, optional
Length of the transformed axis of the output. If n is smaller than the length of the input, the input is cropped. If it is larger, the input is padded with zeros.
- axisint, optional
Axis over which to compute the inverse FFT. The default is the last axis.
- overwrite_xbool, optional
If True, the contents of x may be overwritten during the computation. The default is False.
- Returns:
- complex ndarray
The transformed array.