[SciPy-User] Is Numpy rfft returning the correct number of points?
Matthieu Brucher
matthieu.brucher at gmail.com
Wed Feb 16 15:33:13 EST 2011
Hi,
Yes, it is correct. When doing a real FFT, you have 4096 points, but the
values 1:2048 are conjugated with 2049:4096, so you need only values 0:2049
to get your original signal back.
Matthieu
Matthieu
2011/2/16 Brendan Arnold <brendanarnold at gmail.com>
> Hi there,
>
> When I run numpy.fft.rfft on an array of length 4096, it returns an
> array of 2049 and not 2048. Is this right behaviour?
>
> I am using numpy 1.5.1
>
> Brendan
> _______________________________________________
> SciPy-User mailing list
> SciPy-User at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
--
Information System Engineer, Ph.D.
Blog: http://matt.eifelle.com
LinkedIn: http://www.linkedin.com/in/matthieubrucher
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20110216/ffe34773/attachment.html>
More information about the SciPy-User
mailing list