Cross Power Spectral Density

The scripts in:  cross_psd.zip calculate the cross power spectral density of two signals.

These scripts have an option to sub-divide the data into segments and then take an ensemble average.  This tends to smooth the resulting magnitude and phase curves, but the spectral frequency resolution is widened as a trade-off.

The scripts also calculate the coherence function.

This method is best-suited for stationary data.

* * *

Here is an alternate script set CPSD_from_fourier.zip that calculates the cross spectral density as a single record using the entire signal.

This method would be appropriate for the case of transient pulses.

* * *

See also:  Python Cross Power Spectral Density

* * *

Tom Irvine

Contact Form:

[contact-form][contact-field label=’Name’ type=’name’ required=’1’/][contact-field label=’Email’ type=’email’ required=’1’/][contact-field label=’Website’ type=’url’/][contact-field label=’Comment’ type=’textarea’ required=’1’/][/contact-form]

Leave a Comment