Re: Frequency spectrum with fft of a real valued array...?

2007-01-22 Thread Holger
Hello Robert! Thank you for your tips. They were very useful. Bye Holger Am 11.01.2007, 19:08 Uhr, schrieb Robert Kern <[EMAIL PROTECTED]>: > Holger wrote: > >> What does it mean to me? How do I get to the wanted frequenca >> spectrum??? > > It's packed in the conventional FFT format. Here i

Re: Frequency spectrum with fft of a real valued array...?

2007-01-11 Thread Robert Kern
Holger wrote: > What does it mean to me? How do I get to the wanted frequenca spectrum??? It's packed in the conventional FFT format. Here is a function in numpy (the successor to Numeric, which I assume that you are using) that generates the corresponding frequencies in the same packed format:

Frequency spectrum with fft of a real valued array...?

2007-01-11 Thread Holger
Dear all, I need to do a FFT on an array of 20k real values. Origin of the sampled data is a sinus wave with light harmonics. The goal is an frequency spectrum with the magnitudes of the first 50. harmonics. I addressed python like: test_arr = src_data_dict[ channel ][0:19599]