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.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.
-