[SciPy-user] Numpy/Scipy rfft transformations do not match?

Stéfan van der Walt stefan at sun.ac.za
Sun Mar 1 05:05:24 EST 2009


Hi Michael

2009/3/1 Michael Cohen <mcohen at caltech.edu>:
> I have been trying to switch from numpy.fft.rfft calls to
> scipy.fftpack.rfft calls in order to make use of fftw3, but I find that
> the array sizes are different.

NumPy's rfft returns a complex result, whether scipy unpacks the real
and imaginary components.  I wonder if this makes much sense, and
whether we shouldn't modify SciPy to yield the same output as NumPy?

Cheers
Stéfan



More information about the SciPy-User mailing list