I've written an fftw3 wrapper using ctypes (not cython). In contrast to the numpy and scipy fft functions it uses plans like the fftw3 c-api. However I've tried to make it more usable from Python, i.e. types are detected automatically etc.. You can find the fftw3 wrapper at http://launchpad.net/pyfftw. Cheers Jochen On 03/22/10 10:02, Dag Sverre Seljebotn wrote:
Joseph Anderson wrote:
Hello All,
Anyone have any hints on speeding up the FFTs on EPD?
I've just started to do some larger 1-d convolutions, and am finding the crunching to be somewhat slow for my data sets (Room Impulse Responses * Audio Files).
I don't seem to think the EPD installation comes set up with FFTW... and, my first thought is that's what's needed to speed things up.
Any advice?
The latest EPD comes with Intel MKL; so that's likely what you want to use. It uses the FFTW 3 API, so any code you write would be usable with either MKL (costs money) or FFTW (GPL).
Personally I'd use Cython to start wrap the FFTW 3 API... at least if you know some C that shouldn't take long.
Dag Sverre _______________________________________________ SciPy-User mailing list SciPy-User@scipy.org http://mail.scipy.org/mailman/listinfo/scipy-user