Duncan Child djc@lct.com
Thu, 6 Mar 97 16:19:54 CST

Hello all,

Having much fun with Numeric Python but I am a bit confused
by the FFT module. Any suggestions gratefully accepted as to
what is wrong with the following:


from Numeric import *
from FFT import *

raw_a = array ( [ 1.3 , 1.2, 1.5, 1.4 ]  )

print "raw_a ",raw_a

freq_a = real_fft (raw_a)

print "freq_a ",freq_a

prep_b = inverse_real_fft (freq_a)

print "prep_b ",prep_b

print "length of arrays: ",len(raw_a),len(freq_a),len(prep_b)

If I swap fft for real_fft and inverse_fft for inverse_real_fft the 
results seem OK. 



MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org