SpatialStateUpdater class¶
(Shortest import: from brian2.spatialneuron.spatialneuron import SpatialStateUpdater)
- class brian2.spatialneuron.spatialneuron.SpatialStateUpdater(*args, **kw)[source]¶
Bases:
CodeRunner,GroupThe
CodeRunnerthat updates the state variables of aSpatialNeuronat 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_runbefore the main simulation loop starts.