pyeeg.simulate.diffusive_coupling

pyeeg.simulate.diffusive_coupling(readouts, connectivity, phases=None)

Weighted diffusive coupling of scalar node readouts.

The input to node i is sum_j W_ij (readout_j - readout_i), where W_ij is the coupling strength from node j to node i.

Parameters:
  • readouts (array_like) – The node readouts. Shape (N,).

  • connectivity (array_like) – The connectivity matrix. Shape (N, N).

  • phases (array_like, optional) – Ignored; accepted for a uniform coupling-function interface.

Returns:

input – The coupling input to each node. Shape (N,).

Return type:

ndarray