hypersynchronization.rhs_pairwise_adj#

hypersynchronization.rhs_pairwise_adj(t, theta, omega, k1, adj1)[source]#

Right-hand side of the ODE, pairwise coupling on an arbitrary network.

Coupling function: sin(theta_j - theta_i). Uses matrix multiplication.

Parameters:
tfloat

Time (unused, present for compatibility with integrators).

thetanumpy.ndarray

Phases of the oscillators.

omegafloat or numpy.ndarray

Natural frequencies of the oscillators.

k1float

Coupling strength.

adj1numpy.ndarray of shape (N, N)

Adjacency matrix of order 1.

Returns:
dthetanumpy.ndarray of shape (N,)

Rate of change of phases.