Re: frequency analysis without numpy

2009-01-21 Thread debug
On Jan 21, 11:31 am, sturlamolden wrote: > On Jan 21, 12:13 am, sturlamolden wrote: > > > Apart from that, an FFT in pure python is going to be atrociously slow > > for anything but the shortest signals. I cannot imagine why you want > > to do this. > > Just to elaborate on this: > > The whole pu

Re: frequency analysis without numpy

2009-01-21 Thread philbru
On Jan 20, 3:13 pm, sturlamolden wrote: > Consider using Thompson's multitaper method, autoregression (maximum > entropy), or Welch method for your frequency estimates. Blackman- > Tuckey is also a possibility, but I see no reason to prefer that to > Welch. Multitaper and AR tends to be the better

Re: frequency analysis without numpy

2009-01-21 Thread sturlamolden
On Jan 21, 12:13 am, sturlamolden wrote: > Apart from that, an FFT in pure python is going to be atrociously slow > for anything but the shortest signals. I cannot imagine why you want > to do this. Just to elaborate on this: The whole purpose of using FFT is speed. That pretty much excludes th

Re: frequency analysis without numpy

2009-01-20 Thread sturlamolden
On Jan 20, 11:09 pm, debug wrote: > So far i've managed to put together a chunk of code but I'm not sure > its returning the right values, any ideas? Don't use the periodogram for frequency analysis; it is not a good estimate of the power spectrum. According to the Wiener-Khintchin theorem, the

frequency analysis without numpy

2009-01-20 Thread debug
Hi- I've been using python now for about 2 months for plugin development within Maya (a commercial 3d application). I'm currently in the process of writing a sound analysis plugin for maya and have completed a good portion of it including the ability to retrieve the amplitude at certain intervals