So I think I've confused myself a bit here. I know that taking the FFT of time-series data (wind velocities, for example) yields a power spectral density. However, I just read that taking the Fourier Transform of an autocorrelation function also yields the power spectral density. So, if one were to take the inverse Fourier Transform of power spectral density, would you get the original time series data (with the mean subtracted out) or would you get the autocorrelation function?
-
$\begingroup$ You can compute the autocorrelation in an efficient way by using the FFT: (1) compute the dft of $x$, i. e. $F=FFT(x)$, (2) compute the power spectrum $S=F*F^*$ and (3) transform it back, to get the autocorrelation $R=IFFT(S)$ $\endgroup$– VertexMar 27, 2015 at 18:54
-
$\begingroup$ @AndrewM. your question has been answered directly, please mark it as such. $\endgroup$– Antoine BassoulApr 27, 2015 at 11:03
1 Answer
Taking the FFT of a time-series does not give you the power spectral density (PSD). What you can do is take the squared magnitude of the FFT to get an estimate of the PSD. And the latter is equivalent to taking the Fourier transform of the (deterministic) autocorrelation function of the data. See also this answer to a related question.
So the inverse Fourier transform of the PSD is the autocorrelation function.
-
$\begingroup$ @AntoineBassoul: I understand now what you meant (re-reading the original question), and I added the last sentence above. This should be really clear now I hope. Thanks. $\endgroup$– Matt L.Apr 27, 2015 at 14:53