FFT with Python

Fernando Perez fperez528 at yahoo.com
Wed Jun 23 17:07:57 EDT 2004


Jeremy Sanders wrote:

> Of course you probably want to use numarray instead, which is newer and
> has further development.

Unless speed for small arrays matters, case in which you stick with Numeric
until the Numarray constructors and some other functions get rewritten in C
(post 1.0).  Numarray works great (and is better documented, cleaner, etc) for
the 'few large arrays' case.  It has problems for the 'many small arrays' type
of code.  That's why SciPy hasn't switched to Numarray.

Numarray is being written by the Hubble crowd, so it makes sense that they'd
optimize their usage cases first (astronomy images are the 'few big arrays'
kind of code).

Just a small precision.

And for the OP, scipy wraps fftw for you, as well as including a raft of other
signal-processing oriented things.  And it makes sure to do use ATLAS build of
lapack.

hth,

f



More information about the Python-list mailing list