Resetter class

(Shortest import: from brian2.groups.neurongroup import Resetter)

class brian2.groups.neurongroup.Resetter(group, when='resets', order=None, event='spike')[source]

Bases: brian2.groups.group.CodeRunner

The CodeRunner that applies the reset statement(s) to the state variables of neurons that have spiked in this timestep.

Methods

update_abstract_code(run_namespace)

Details

update_abstract_code(run_namespace)[source]