SpatialStateUpdater class

(Shortest import: from brian2.spatialneuron.spatialneuron import SpatialStateUpdater)

class brian2.spatialneuron.spatialneuron.SpatialStateUpdater(*args, **kw)[source]

Bases: brian2.groups.group.CodeRunner, brian2.groups.group.Group

The CodeRunner that updates the state variables of a SpatialNeuron at every timestep.

Methods

before_run(run_namespace)

Optional method to prepare the object before a run.

Details

before_run(run_namespace)[source]

Optional method to prepare the object before a run.

Called by Network.after_run before the main simulation loop starts.