Computing FFT with Python NumPy 1.0

mcdurr at gmail.com mcdurr at gmail.com
Wed Nov 1 19:04:59 EST 2006


I recently installed Python 2.5 on Windows and also installed numpy
1.0.  I'd like to compute an FFT on an array of numbers but I can't
seem to access the FFT function.  I'm fairly new to Python (obviously)
and I can't seem to find documentation to match my distribution of
numpy and I can't figure out how to access the FFT function.

Python 2.5 (r25:51908, Sep 19 2006, 09:52:17) [MSC v.1310 32 bit
(Intel)] on win32
Type "copyright", "credits" or "license()" for more information.

IDLE 1.2
>>> from numpy import *
>>> a=array((1,2,3,2,1,2,3,2,1))
>>> fft(a)

Traceback (most recent call last):
  File "<pyshell#2>", line 1, in <module>
    fft(a)
TypeError: 'module' object is not callable
>>> 

Help appreciated thanks.




More information about the Python-list mailing list