18.7.2 Algorithms (Coherence)Cohere-Algorithm
Power spectral density is the Fourier transform of correlation. From the discrete correlation theorem, we know that the Fourier transform of the correlation of two signals is equal to the product of a Fourier transform of one signal and a conjugated Fourier transform of the other. Therefore, power spectral density can be calculated with a Fourier transform. Additionally, the cross power density of two signals, x and y, can be computed as follows:
where X and Y are the Fourier transform of x and y respectively, and * denotes the complex conjugation.
Similarly, auto power density can be computed as follows:
Thus, the computation of coherence can be rewritten as follows:
The input signals, x and y, are divided into overlapping sections. The coherence of each section is then computed using the above equation.
Automatic Computation of Sampling Interval
When <Auto> is selected for Sampling Interval, the sampling interval needed in the computation is computed automatically by Origin.
The automatically computed sampling interval is the average increment of the time sequence, which is usually from the X column associated with the input signal. If there is no associated X column, the row numbers will be used. Note that if Origin fails to get the average increment, the sampling interval will be set to 1.
Windows
Specifies the window type used by FFT. The default option is Hanning.
- Rectangle
- Rectangular window:
- Welch
- Welch window
-
- Triangular
- Triangular Window:
- odd:
- even:
- Bartlett
- Bartlett window
- Hanning
- Hann Window
- Hamming
- Hamming window:
-
- Blackman
- Blackman window
-
- Gaussian
- Gaussian window:
- where Alpha is specified by the Alpha parameter.
- Kaiser
- Kaiser window:
- where I(ix) denotes Bessel Function and beta is specified by the Beta parameter.
|