This module implements those functions that replace aspects of the scipy.fftpack module. This module provides the entire documented namespace of scipy.fftpack, but those functions that are not included here are imported directly from scipy.fftpack.
The exceptions raised by each of these functions are mostly as per their equivalents in scipy.fftpack, though there are some corner cases in which this may not be true.
It is notable that unlike scipy.fftpack, these functions will generally return an output array with the same precision as the input array, and the transform that is chosen is chosen based on the precision of the input array. That is, if the input array is 32-bit floating point, then the transform will be 32-bit floating point and so will the returned array. If any type conversion is required, the default will be double precision.
Some corner (mis)usages of scipy.fftpack may not transfer neatly. For example, using scipy.fftpack.fft2() with a non 1D array and a 2D shape argument will return without exception whereas pyfftw.interfaces.scipy_fftpack.fft2() will raise a ValueError.
Perform a 1D FFT.
The first three arguments are as per scipy.fftpack.fft(); the rest of the arguments are documented in the additional argument docs.
Perform a 1D inverse FFT.
The first three arguments are as per scipy.fftpack.ifft(); the rest of the arguments are documented in the additional argument docs.
Perform an n-D FFT.
The first three arguments are as per scipy.fftpack.fftn(); the rest of the arguments are documented in the additional argument docs.
Perform an n-D inverse FFT.
The first three arguments are as per scipy.fftpack.ifftn(); the rest of the arguments are documented in the additional argument docs.
Perform a 1D real FFT.
The first three arguments are as per scipy.fftpack.rfft(); the rest of the arguments are documented in the additional argument docs.
Perform a 1D real inverse FFT.
The first three arguments are as per scipy.fftpack.irfft(); the rest of the arguments are documented in the additional argument docs.
Perform a 2D FFT.
The first three arguments are as per scipy.fftpack.fft2(); the rest of the arguments are documented in the additional argument docs.
Perform a 2D inverse FFT.
The first three arguments are as per scipy.fftpack.ifft2(); the rest of the arguments are documented in the additional argument docs.