[Numpy-discussion] FFTW bindings now implement numpy.fft interface

Henry Gomersall heng@cantab....
Sun Feb 17 09:58:39 CST 2013

Some of you may be interested in the latest release of my FFTW bindings.
It can now serve as a drop in replacement* for numpy.fft and

This means you can get most of the speed-up of FFTW with a one line code
change or monkey patch existing libraries.

Lots of other goodness too of course.

Source here: https://github.com/hgomersall/pyFFTW
pypi here: http://pypi.python.org/pypi/pyFFTW
docs here: http://hgomersall.github.com/pyFFTW/

It's GPL3 due to license restrictions on FFTW. Get in touch if you want
a different license and I'm sure we can reach an agreement ;)



*In the case where the input array is not a numpy array, it doesn't
work. This was an oversight and will be fixed in the next release. That
said, if you're converting from a list on every transform, you have
better optimisations than using FFTW. One other small caveat in a corner
case to do with repeated axes - described in the docs.

More information about the NumPy-Discussion mailing list