hypersynchronization.plot_sync#

hypersynchronization.plot_sync(thetas, times, n=None, figsize=(4, 2), width_ratios=[3, 1])[source]#

Plot the time series of oscillators, their phase plots, and the order parameter.

Parameters:
thetasnp.ndarray

The phase of each oscillator over time. Shape is (N, T).

timesnp.ndarray

The time stamps for the thetas data.

nint, optional

Number of time series to plot, by default None.

Returns:
tuple

(fig, axs) where fig is a plt.Figure and axs is a numpy ndarray of plt.Axes.