StateUpdater class

(Shortest import: from brian2.synapses.synapses import StateUpdater)

class brian2.synapses.synapses.StateUpdater(group, method, clock, order, method_options=None)[source]

Bases: brian2.groups.group.CodeRunner

The CodeRunner that updates the state variables of a Synapses at every timestep.

Methods

update_abstract_code([run_namespace, level]) Update the abstract code for the code object.

Details

update_abstract_code(run_namespace=None, level=0)[source]

Update the abstract code for the code object. Will be called in before_run and should update the CodeRunner.abstract_code attribute.

Does nothing by default.