-
Notifications
You must be signed in to change notification settings - Fork 7
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question regarding description of cross-spectral density #1
Comments
Hi, it has been years, but the text states that |
I still don't get it. The PSD of both |
For me this video Coherence and the Cross Spectrum and Estimation of Coherence and Cross Spectra in combination with this oceanography course material on Test of coherence and phase lag calculations were useful Maybe you did take the PSD directly on the input signal (then your input signal should be complex), or did you compute the CSD estimate using the PSD estimates? |
Thanks for the materials, I've watched/read them and they are helpful. However, what I was asking is whether there is an error in the following equation (and the relevant description) from the notebook: The PSD is always real-valued regardless whether the input signal is real or complex. Then the Regarding the Test of coherence and phase lag caculations material, I'm not quite sure about the coherence (or magnitude-squared coherence to be consistent with Estimation of Coherence and Cross Spectra) part. In fact even the author mentioned
I think it is indeed incorrect because he is taking the square of the real part, rather than the abs. The author mentioned Matlab may have some precision issues but I doubt it is because the directly computed |
Thanks for the feedback. First of all, I'm open for improvements. Secondly, I'll have to do some reading by myself before I can answer your question with confidence (regardless right or wrong). |
@mattijn Thanks for the update. I guess my confusion lies in some of the notations. What confused me the most is the double subscripts like Because according to this equation in the notebook:
So I agree that the CSD should be computed as |
Hi,
Thanks for providing the notebook.
I have a question regarding the description of cross-spectral density (CSD) in this notebook:
If the PSD of
i
is real-valued, then that ofj
is also real sincei
andj
are symmetrical. Then the CSD is real-valued, too. However, thecij
output from themtem()
function is complex. That's why we can compute the phase from thecij
.Could you help clarify this point?
The text was updated successfully, but these errors were encountered: