DelayedLinearCoupling

experimental.network_dynamics.coupling.DelayedLinearCoupling(
    buffer_strategy='roll',
    warn_on_delay_clamp=False,
    history_interpolation=None,
    **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
source str or list of str State name(s) to collect from connected nodes (required) required
local 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(source='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]