Skip to main content

A pythonic wrapper around FFTW, the FFT library, presenting a unified interface for all the supported transforms.

Project description

pyFFTW is a pythonic wrapper around FFTW, the speedy FFT library. The ultimate aim is to present a unified interface for all the possible transforms that FFTW can perform.

Both the complex DFT and the real DFT are supported, as well as arbitrary axes of arbitrary shaped and strided arrays, which makes it almost feature equivalent to standard and real FFT functions of numpy.fft (indeed, it supports the clongdouble dtype which numpy.fft does not).

Operating FFTW in multithreaded mode is supported.

A comprehensive unittest suite can be found with the source on the github repository.

To build for windows from source, download the fftw dlls for your system and the header file from here (they’re in a zip file): and place them in the pyfftw directory. The files are libfftw3-3.dll, libfftw3l-3.dll, libfftw3f-3.dll and libfftw3.h.

Under linux, to build from source, the FFTW library must be installed already. This should probably work for OSX, though I’ve not tried it.

Numpy is a dependency for both.

The documentation can be found here, and the source is on github.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyFFTW-0.13.0.tar.gz (113.3 kB view hashes)

Uploaded source

Built Distributions

pyFFTW-0.13.0-cp310-cp310-win_amd64.whl (2.6 MB view hashes)

Uploaded cp310

pyFFTW-0.13.0-cp39-cp39-win_amd64.whl (2.6 MB view hashes)

Uploaded cp39

pyFFTW-0.13.0-cp38-cp38-win_amd64.whl (2.6 MB view hashes)

Uploaded cp38

pyFFTW-0.13.0-cp37-cp37m-win_amd64.whl (2.6 MB view hashes)

Uploaded cp37

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page