[SciPy-user] fourier series
Ariel Rokem
arokem at berkeley.edu
Thu Apr 16 00:29:10 EDT 2009
Hi -
in pylab, which is part of matplotlib:
>>>from matplotlib import pylab
there is a function called psd:
>>>pylab.psd
which can help you graphically show your frequency decomposition
Cheers,
Ariel
On Sun, Mar 29, 2009 at 10:29 PM, vvinuv <vvinuv at gmail.com> wrote:
>
> Hi
> I would like to demonstrate the fourier series graphically. I have a
> function in an array and want to decompose it. I used rfft to do that. But
> I
> am not able to interpret the coefficients I am getting. How can I use the
> array returns by rfft in the fourier series, ie how can I extract the
> coefficients (a_0, a_1, b_1, a_2, b_2 etc.) out of that?
> Thanks
> Vinu
> --
> View this message in context:
> http://www.nabble.com/fourier-series-tp22776639p22776639.html
> Sent from the Scipy-User mailing list archive at Nabble.com.
>
> _______________________________________________
> SciPy-user mailing list
> SciPy-user at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-user
>
--
Ariel Rokem
Helen Wills Neuroscience Institute
University of California, Berkeley
http://argentum.ucbso.berkeley.edu/ariel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.scipy.org/pipermail/scipy-user/attachments/20090415/a02b716b/attachment.html>
More information about the SciPy-User
mailing list