Hamming-windowed averaged CSD. Delegates to signal::cpsd if
present; otherwise computed from the same FFT loop as the coherence
fallback.
Usage
morie_dsp_csd(x, y, fs = 1, nperseg = 256L)
Arguments
- x
Numeric vector.
- y
Numeric vector.
- fs
Sampling frequency (Hz). Default 1.
- nperseg
Segment length. Default 256.
Value
List with freqs (Hz) and csd (complex).
References
Rangayyan & Krishnan (2015), Ch. 4 & Ch. 6.