How to calculate coherence?
Coherence as a measure of confidence in transfer function H1
If a system is linear time-invariant with frequency response (Sxy(ω) = H(ω) Sxx(ω) ), then H(ω) = Sxy(ω)/Sxx(ω).
What is magnitude-squared coherence?
The magnitude-squared coherence (MSC) is a measure that estimates the extent to which one real- or complex-valued signal can be predicted from another real- or complex-valued signal using a linear model. It is also used as a measure of the similarities in the frequency content of two signals.