FastLinearCoupling

experimental.network_dynamics.coupling.FastLinearCoupling(
    incoming_states=None,
    local_states=None,
    **kwargs,
)

Deprecated compatibility spelling for :class:LinearCoupling.

LinearCoupling now uses the same incoming-only node-message path, so a separate fast implementation is unnecessary. This wrapper preserves the historical local_states=... source spelling while forwarding all math to LinearCoupling.

\[c = G \cdot \sum_{j} w_{ij} x_j + b\]

Parameters

Name Type Description Default
incoming_states str or list of str Preferred source-state spelling. None
local_states str or list of str Deprecated historical alias for incoming_states. None

Notes

New code should construct LinearCoupling(source=...) directly.

Examples

>>> # Historical spelling; emits DeprecationWarning
>>> coupling = FastLinearCoupling(local_states='S', G=1.0)