DelayedLinearCoupling
experimental.network_dynamics.coupling.DelayedLinearCoupling(
buffer_strategy='roll',
**kwargs,
)Linear coupling with transmission delays.
Standard linear coupling with delays between nodes, implementing:
\[c_i(t) = G \cdot \sum_{j} w_{ij} x_j(t - \tau_{ij}) + b\]
where \(\tau_{ij}\) are the transmission delays between nodes.
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| incoming_states | str or list of str | State name(s) to collect from connected nodes (required) | required |
| local_states | str or list of str | State name(s) from current node (default: []) |
required |
Attributes
| Name | Type | Description |
|---|---|---|
| N_OUTPUT_STATES | int | Number of output coupling states: 1 |
| DEFAULT_PARAMS | Bunch | Default parameters: G=1.0 (coupling strength), b=0.0 (offset/bias) |
Examples
>>> coupling = DelayedLinearCoupling(incoming_states='S', G=1.0)Methods
| Name | Description |
|---|---|
| post | Apply linear transformation to summed delayed inputs. |
post
experimental.network_dynamics.coupling.DelayedLinearCoupling.post(
summed_inputs,
local_states,
params,
)Apply linear transformation to summed delayed inputs.
Args: summed_inputs: Summed delayed coupling inputs [n_inputs, n_nodes] local_states: Local states (not used) params: Bunch with G, b
Returns: Transformed coupling [n_inputs, n_nodes]