Re: [Numpy-discussion] (no subject)

2013-09-03 Thread Carl Canuck
Hi Tim, Brilliant! Many thanks... I think this is exactly what I need, I owe you a beer (or other beverage of your choice). I'm now going to lock myself in the basement until I can work out an implementation of this for my use-case :) /Carl On Tue, Sep 3, 2013 at 9:05 PM, Cera, Tim wrote:

[Numpy-discussion] (no subject)

2013-09-03 Thread Carl Canuck
Hello, I'm new to numpy, and I'm a stuck on my first real project with it. I am trying to take the rfft of a numpy array, like this: >>> my_rfft = numpy.fft.rfft(my_numpy_array) and replace the amplitudes that can be obtained with: >>> my_amplitudes = numpy.abs(my_rfft) with amplitudes from an