pyeeg.simulate.Kuramoto.simulate

Kuramoto.simulate(tmax=1.0, x0=None)

Simulate the network and return the readout of every node.

Parameters:
  • tmax (float) – The duration of the simulation in seconds. Must be at least dt.

  • x0 (array_like, optional) – The initial phases. Shape (N,). If given, each phase is wrapped into [0, 2*pi). If None, the phases are initialised to zero.

Returns:

output – The simulated readouts. Shape (n, N).

Return type:

ndarray

Raises:

ValueError – If tmax is smaller than dt, or if x0 does not have shape (N,).