This is documentation for an old release of SciPy (version 1.4.1). Read this page in the documentation of the latest stable release (version 1.15.1).
Discrete Fourier transforms (scipy.fft
)¶
Fast Fourier Transforms (FFTs)¶
|
Compute the one-dimensional discrete Fourier Transform. |
|
Compute the one-dimensional inverse discrete Fourier Transform. |
|
Compute the 2-dimensional discrete Fourier Transform |
|
Compute the 2-dimensional inverse discrete Fourier Transform. |
|
Compute the N-dimensional discrete Fourier Transform. |
|
Compute the N-dimensional inverse discrete Fourier Transform. |
|
Compute the one-dimensional discrete Fourier Transform for real input. |
|
Compute the inverse of the n-point DFT for real input. |
|
Compute the 2-dimensional FFT of a real array. |
|
Compute the 2-dimensional inverse FFT of a real array. |
|
Compute the N-dimensional discrete Fourier Transform for real input. |
|
Compute the inverse of the N-dimensional FFT of real input. |
|
Compute the FFT of a signal that has Hermitian symmetry, i.e., a real spectrum. |
|
Compute the inverse FFT of a signal that has Hermitian symmetry. |
|
Compute the 2-dimensional FFT of a Hermitian complex array. |
|
Compute the 2-dimensional inverse FFT of a real spectrum. |
|
Compute the N-dimensional FFT of Hermitian symmetric complex input, i.e. |
|
Compute the N-dimensional inverse discrete Fourier Transform for a real spectrum. |
Discrete Sin and Cosine Transforms (DST and DCT)¶
|
Return the Discrete Cosine Transform of arbitrary type sequence x. |
|
Return the Inverse Discrete Cosine Transform of an arbitrary type sequence. |
|
Return multidimensional Discrete Cosine Transform along the specified axes. |
|
Return multidimensional Discrete Cosine Transform along the specified axes. |
|
Return the Discrete Sine Transform of arbitrary type sequence x. |
|
Return the Inverse Discrete Sine Transform of an arbitrary type sequence. |
|
Return multidimensional Discrete Sine Transform along the specified axes. |
|
Return multidimensional Discrete Sine Transform along the specified axes. |
Helper functions¶
|
Shift the zero-frequency component to the center of the spectrum. |
|
The inverse of |
|
Return the Discrete Fourier Transform sample frequencies. |
|
Return the Discrete Fourier Transform sample frequencies (for usage with rfft, irfft). |
Find the next fast size of input data to |
|
|
Context manager for the default number of workers used in |
Returns the default number of workers within the current context |
Backend control¶
|
Context manager to set the backend within a fixed scope. |
|
Context manager to skip a backend within a fixed scope. |
|
Sets the global fft backend |
|
Register a backend for permanent use. |