pyeeg.simulate.NeuralMassNode

class pyeeg.simulate.NeuralMassNode(dt=0.001, seed=42)

Abstract base class for a single neural-mass node.

Defines the interface to be implemented for the simulation of a single node: a child class must provide a step() method that advances the internal state by one integration step, an optional read_out() method returning a scalar readout, and may override simulate() to produce a full time series.

Parameters:
  • dt (float) – The integration time step in seconds.

  • seed (int) – The random seed used to initialise the node’s random number generator.

Methods

NeuralMassNode.simulate()

Simulate the node and return its time series.

NeuralMassNode.step()

Advance the node by one integration step.