pyeeg.simulate.JRNetwork.update_connectivity
- JRNetwork.update_connectivity(x, sigma_p=1)
Update the coupling matrix
Kfrom the history of node outputs.The coupling strengths are normalised by the standard deviation of each node’s firing rate so that the mean input to each node is conserved across coupling strengths (see David & Friston, 2004).
- Parameters:
x (array_like) – The firing-rate outputs of all nodes, needed to compute the standard deviation. Shape (N, ntimes).
sigma_p (float or array_like) – The standard deviation of the external input fluctuations. A scalar is applied to all nodes, an array must have shape (N,).