July 2016
Beginner to intermediate
462 pages
9h 14m
English
Two signals can be fully synchronized, not synchronized, or somewhere in between. We usually measure phase synchronization in radians. The related quantity of instantaneous phase can be measured with the NumPy angle() function. For real-valued data, we need to obtain the analytic representation of the signal, which is given by the Hilbert transform. The Hilbert transform is also available in SciPy and NumPy.
Cross-correlation measures the correlation between two signals using a sliding inner product. We can use cross-correlation to measure the time delay between two signals. NumPy offers the correlate() function, which calculates the cross-correlation between two arrays.
Read now
Unlock full access