[Numpy-discussion] Choosing between NumPy and SciPy functions

Sturla Molden sturla.molden at gmail.com
Tue Oct 28 01:13:22 EDT 2014

<josef.pktd at gmail.com> wrote:

>    doesn't seem to mind mixing numpy and scipy  (quick github search)

I believe it is because NumPy's FFTs (beginning with 1.9.0) are
thread-safe. But FFTs from numpy.fft and scipy.fftpack should be rather
similar in performance. (Except if you use Enthought, in which case the
former is much faster.)

It seems from the code that fftconvolve does not use overlap-add or
overlap-save. I seem to remember that it did before, but I might be wrong.
Personally I prefer to use overlap-add instead of a very long FFT. 

There is also a scipy.fftpack.convolve module. I have not used it though.


More information about the NumPy-Discussion mailing list