API reference#
Simulation#
|
Simulate the Kuramoto model on a hypergraph. |
Initial conditions#
|
Generate initial conditions for a system of N oscillators. |
|
Generate a k-cluster state for N phase oscillators. |
|
Generate a q-twisted state for N phase oscillators. |
RHS functions#
|
Right-hand side of the ODE for any hypergraph with links and triangles. |
|
Right-hand side of the ODE, all-to-all pairwise coupling. |
|
Right-hand side of the ODE, pairwise coupling on an arbitrary network. |
|
Right-hand side of the ODE, pairwise coupling on an arbitrary network. |
|
Right-hand side of the ODE, all-to-all pairwise coupling with a harmonic. |
|
Right-hand side of the ODE, symmetric triadic coupling on an arbitrary network. |
|
Right-hand side of the ODE, asymmetric triadic coupling on an arbitrary network. |
|
ODE RHS for coupled oscillators on a complete network. |
|
ODE RHS for coupled oscillators on a complete network. |
|
ODE RHS for coupled oscillators on a ring network. |
|
ODE RHS for coupled oscillators on a ring network. |
Analysis#
|
Calculate the generalised Daido order parameter of order order. |
|
Identify the synchronization state. |
|
Check if k-cluster state. |
|
Check if twisted state and identify its winding number. |
Drawing#
|
|
|
Plot the time series of oscillators, their phase plots, and the order parameter. |
|
Plot sin(theta) over time for the given phases thetas. |
|
Plot the order parameter over time for the given phases thetas. |
|
Plot the phase thetas of oscillators on a circle. |
|
Plot the phases thetas of oscillators in order of node index. |
|
Plot the phase of oscillators at time it on a circle. |