Re: [Numpy-discussion] can't take FFT of ndarray

2009-03-06 Thread charles reid
Fixed the problem - I was importing a bunch of numbers from a file, and I wasn't casting them as doubles. Thanks for the help! Charles On Fri, Mar 6, 2009 at 4:26 PM, Charles R Harris wrote: > > > On Fri, Mar 6, 2009 at 4:22 PM, charles reid wrote: > >> In [3]: mix

Re: [Numpy-discussion] can't take FFT of ndarray

2009-03-06 Thread charles reid
In [3]: mixfracarray=array(mixfrac) In [4]: mixfracarray.dtype Out[4]: dtype('|S17') On Fri, Mar 6, 2009 at 4:09 PM, Charles R Harris wrote: > > > On Fri, Mar 6, 2009 at 3:51 PM, charles reid wrote: > >> In [3]: type(mixfrac) >> Out[3]: >> >> I

Re: [Numpy-discussion] can't take FFT of ndarray

2009-03-06 Thread charles reid
In [3]: type(mixfrac) Out[3]: In [4]: mixfracarray=array(mixfrac) In [5]: type(mixfracarray) Out[5]: (Is that what you were referring to?) On Fri, Mar 6, 2009 at 3:44 PM, Charles R Harris wrote: > > > On Fri, Mar 6, 2009 at 3:36 PM, charles reid wrote: > >> Hi there - &

Re: [Numpy-discussion] can't take FFT of ndarray

2009-03-06 Thread charles reid
Hi there - I've imported some data from a file, and it's in a list called mixfrac. I'd like to take the Fourier transform of the data, but when I try to take the FFT of the list, I get this error: --- TypeError