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

Stéfan van der Walt stefan@sun.ac...
Sun Mar 1 04:05:24 CST 2009

Hi Michael

2009/3/1 Michael Cohen <mcohen@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?


More information about the SciPy-user mailing list