Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
IPython Notebook FFT Example
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tarokiritani

This comment has been minimized.

Copy link

commented Oct 19, 2016

I assume the DC amplitude appears only once in fft_x, and therefore should not be multiplied by 2? Am I mistaken?

@jedludlow

This comment has been minimized.

Copy link
Owner Author

commented Nov 16, 2016

@tarokiritani Yes, that is correct. More precisely, the FFT returns energy across the spectrum of positive, negative, and zero frequencies. The folding process takes all the energy from the negative frequencies and places it at the matching positive frequencies. There is a single entry in fft_x for zero frequency, so there is no folding required there.

@raproth

This comment has been minimized.

Copy link

commented Aug 16, 2018

is the lowest plot equivalent to the PSD?

@misterjoa

This comment has been minimized.

Copy link

commented Mar 7, 2019

This notebook is gold ! Thank you very much !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.