Re: [Numpy-discussion] rfft different in numpy vs scipy

2006-09-11 Thread Andrew Jaffe
Steven G. Johnson wrote: Andrew Jaffe wrote: numpy returns n/2+1 complex numbers (so the first and last numbers are actually real) with the frequencies equivalent to the positive part of the fftfreq, whereas scipy returns n real numbers with the frequencies as in rfftfreq (i.e., two real

Re: [Numpy-discussion] rfft different in numpy vs scipy

2006-09-09 Thread Steven G. Johnson
Andrew Jaffe wrote: numpy returns n/2+1 complex numbers (so the first and last numbers are actually real) with the frequencies equivalent to the positive part of the fftfreq, whereas scipy returns n real numbers with the frequencies as in rfftfreq (i.e., two real numbers at the same frequency,

Re: [Numpy-discussion] rfft different in numpy vs scipy

2006-09-07 Thread Charles R Harris
On 9/7/06, Andrew Jaffe [EMAIL PROTECTED] wrote: Hi all,It seems that scipy and numpy define rfft differently.numpy returns n/2+1 complex numbers (so the first and last numbers areactually real) with the frequencies equivalent to the positive part of the fftfreq, whereas scipy returns n real

Re: [Numpy-discussion] rfft different in numpy vs scipy

2006-09-07 Thread Andrew Jaffe
Hi Charles, Charles R Harris wrote: On 9/7/06, *Andrew Jaffe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, It seems that scipy and numpy define rfft differently. numpy returns n/2+1 complex numbers (so the first and last numbers are actually real) with

Re: [Numpy-discussion] rfft different in numpy vs scipy

2006-09-07 Thread Charles R Harris
On 9/7/06, Andrew Jaffe [EMAIL PROTECTED] wrote: Hi Charles,Charles R Harris wrote: On 9/7/06, *Andrew Jaffe* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Hi all, It seems that scipy and numpy define rfft differently. numpy returns n/2+1 complex numbers (so the first and last numbers are