Re: [Numpy-discussion] zoom FFT with numpy?

2007-03-16 Thread Stefan van der Walt
Here is another implementation of the Chirp-Z transform in Python, that handles complex numbers. Regards Stéfan On Thu, Mar 15, 2007 at 11:53:49AM +0200, Nadav Horesh wrote: A long time ago I translated a free code of chirp z transform (zoom fft) into python. Attached here the source and two

Re: [Numpy-discussion] zoom FFT with numpy? (Nadav Horesh)

2007-03-15 Thread Ray S
Hi Nadev, A long time ago I translated a free code of chirp z transform (zoom fft) into python. Thanks, I'll try it out. I did, however read before on the differences: From Numerix http://www.numerix-dsp.com/zoomfft.html: One common question is : Is the zoom FFT the same as the chirp

Re: [Numpy-discussion] zoom FFT with numpy?

2007-03-15 Thread Warren Focke
On Wed, 14 Mar 2007, Charles R Harris wrote: On 3/14/07, Ray Schumacher [EMAIL PROTECTED] wrote: What I had been doing is a 2048 N full real_FFT with a Hann window, and further analyzing the side lobe/bin energy (via linear interp) to try to more precisely determine the f within the

Re: [Numpy-discussion] zoom FFT with numpy? (Nadav Horesh)

2007-03-15 Thread Charles R Harris
On 3/15/07, Ray S [EMAIL PROTECTED] wrote: Hi Nadev, A long time ago I translated a free code of chirp z transform (zoom fft) into python. Thanks, I'll try it out. I did, however read before on the differences: From Numerix http://www.numerix-dsp.com/zoomfft.html: One common question is : Is

Re: [Numpy-discussion] zoom FFT with numpy?

2007-03-15 Thread Charles R Harris
On 3/15/07, Warren Focke [EMAIL PROTECTED] wrote: On Wed, 14 Mar 2007, Charles R Harris wrote: On 3/14/07, Ray Schumacher [EMAIL PROTECTED] wrote: What I had been doing is a 2048 N full real_FFT with a Hann window, and further analyzing the side lobe/bin energy (via linear interp) to

Re: [Numpy-discussion] zoom FFT with numpy?

2007-03-14 Thread Charles R Harris
On 3/14/07, Ray S [EMAIL PROTECTED] wrote: We'd like to do what most call a zoom FFT; we only are interested in the frequencies of say, 6kHZ to 9kHz with a given N, and so the computations from DC to 6kHz are wasted CPU time. Can this be done without additional numpy pre-filtering computations?

Re: [Numpy-discussion] zoom FFT with numpy?

2007-03-14 Thread Anne Archibald
On 15/03/07, Ray Schumacher [EMAIL PROTECTED] wrote: The desired band is rather narrow, as the goal is to determine the f of a peak that always occurs in a narrow band of about 1kHz around 7kHz 2) frequency shift, {low pass}, and downsample By this I would take it to mean, multiply by a

Re: [Numpy-discussion] zoom FFT with numpy?

2007-03-14 Thread Charles R Harris
On 3/14/07, Ray Schumacher [EMAIL PROTECTED] wrote: On 3/14/07, Charles R Harris wrote: Sounds like you want to save cpu cycles. How much you can save will depend on the ratio of the bandwidth to the nyquist. The desired band is rather narrow, as the goal is to determine the f of a peak