hypersynchronization.plot_series#

hypersynchronization.plot_series(thetas, times, color='grey', alpha=0.1, n=None, ax=None, **kwargs)[source]#

Plot sin(theta) over time for the given phases thetas.

Parameters:
thetasndarray

The values of the phases.

timesndarray

The corresponding times.

colorcolor

Color of the lines

alphafloat

Transparency of the lines

axMatplotlib axis, optional

The Matplotlib axis to plot on, by default None (creates a new axis).

nint, optional

The number of thetas to plot, by default None (plots all thetas).

**kwargs

Additional arguments that will be passed to matplotlib’s plot.

Returns:
axMatplotlib axis

The Matplotlib axis the plot was drawn on.