Re: [Numpy-discussion] Numpy FFT.FFT slow with certain samples

2015-09-01 Thread Joseph Codadeen
ther.Thanks. > From: oscar.j.benja...@gmail.com > Date: Tue, 1 Sep 2015 16:14:41 +0100 > To: numpy-discussion@scipy.org > Subject: Re: [Numpy-discussion] Numpy FFT.FFT slow with certain samples > > On 1 September 2015 at 11:38, Joseph Codadeen <jdm...@hotmail.com> wrote: >

Re: [Numpy-discussion] Numpy FFT.FFT slow with certain samples

2015-09-01 Thread Joseph Codadeen
Hi, I cannot see how the following would work when it is np.fft.fft() that takes a long time based on the length of data. In my case my data is non-periodic.> from numpy.fft import fft> from numpy.random import rand> from math import log, ceil> seq_A = rand(2649674)> seq_B = rand(2646070)>

[Numpy-discussion] Numpty FFT.FFT slow with certain samples

2015-08-28 Thread Joseph Codadeen
Hi, I am a numpy newbie. I have two wav files, one that numpy takes a long time to process the FFT. They was created within audacity using white noise and silence for gaps. my_1_minute_noise_with_gaps.wavmy_1_minute_noise_with_gaps_truncated.wav The files are very similar in the following way;

Re: [Numpy-discussion] Numpy FFT.FFT slow with certain samples

2015-08-28 Thread Joseph Codadeen
02:02 PM, Joseph Codadeen wrote: * my_1_minute_noise_with_gaps_truncated took***30.75620985s* to process. * my_1_minute_noise_with_gaps took *22307.13917s*to process. You didn't say how long those arrays were, but I can make a good guess that the truncated one had a length that could

Re: [Numpy-discussion] Numpy FFT.FFT slow with certain samples

2015-08-28 Thread Joseph Codadeen
Great, thanks Stefan and everyone. From: stef...@berkeley.edu To: numpy-discussion@scipy.org Date: Fri, 28 Aug 2015 12:03:52 -0700 Subject: Re: [Numpy-discussion] Numpy FFT.FFT slow with certain samples On 2015-08-28 11:51:47, Joseph Codadeen jdm...@hotmail.com wrote