Created
October 19, 2012 16:16
-
-
Save jedludlow/3919130 to your computer and use it in GitHub Desktop.
IPython Notebook FFT Example
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@pivdets, I'm not sure I fully understand your question, but I'll make an attempt at an answer to the
ifft
part.I don't have time right now to extend the notebook to include the
ifft
case, but I can describe how you can figure it out on your own. You can take the Fourier spectrum results that are plotted in cell 9 at the end of the notebook and try to work backwards through the problem, using theifft
instead offft
in cell 4. If your code reproduces the signal plotted in cell 3 then you know you've got it working correctly. Maybe you can submit a pull request if you get it working. Once you have proven your method you can apply it to other Fourier spectra to recover the underlying signal.