Thresholder class¶
(Shortest import: from brian2.groups.neurongroup import Thresholder)
-
class
brian2.groups.neurongroup.
Thresholder
(group, when='thresholds', event='spike')[source]¶ Bases:
brian2.groups.group.CodeRunner
The
CodeRunner
that applies the threshold condition to the state variables of aNeuronGroup
at every timestep and sets itsspikes
andrefractory_until
attributes.Methods
update_abstract_code
(run_namespace)Update the abstract code for the code object. Details