Thresholder class¶
(Shortest import: from brian2.groups.neurongroup import Thresholder)
-
class
brian2.groups.neurongroup.Thresholder(*args, **kw)[source]¶ Bases:
brian2.groups.group.CodeRunnerThe
CodeRunnerthat applies the threshold condition to the state variables of aNeuronGroupat every timestep and sets itsspikesandrefractory_untilattributes.Methods
update_abstract_code(run_namespace)Update the abstract code for the code object.
Details