dirconn.NodeDynamics#

class dirconn.NodeDynamics(kind: str = 'oscillator', freq_hz: float = 10.0, bandwidth_hz: float = 2.0, noise_std: float = 1.0)#

Own dynamics of a network node.

Parameters:
  • kind ({"oscillator", "white"}) – "oscillator" is an AR(2) process with a spectral peak, "white" has no memory.

  • freq_hz (float) – Centre frequency of the oscillator in Hz (must stay below the Nyquist frequency).

  • bandwidth_hz (float) – Width of the oscillator peak in Hz; the pole radius is exp(-pi * bandwidth / sfreq).

  • noise_std (float) – Standard deviation of the innovations driving the node.

__init__(kind: str = 'oscillator', freq_hz: float = 10.0, bandwidth_hz: float = 2.0, noise_std: float = 1.0) → None#

Methods

__init__([kind, freq_hz, bandwidth_hz, ...])

ar_coefficients(sfreq)

Return the AR(2) coefficients (a1, a2) at the sampling frequency sfreq.

Attributes

bandwidth_hz

freq_hz

kind

noise_std