[Numpy-discussion] irfft, odd size input and truncation

David Cournapeau cournape@gmail....
Thu Jul 22 02:58:35 CDT 2010


Hi,

While looking at improving numpy.fft, I encountered some issue with
the definition of irfft for odd-size input. The docstring says that
irfft(x, n) when n < x.size truncate the high frequencies of x, but it
seems this is ambiguous for odd-size x and even n ? In particular, I
can't manage to emulate irfft with ifft in that case.

cheers,

David


More information about the NumPy-Discussion mailing list