SummedVariableUpdater class

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

class brian2.synapses.synapses.SummedVariableUpdater(expression, target_varname, synapses, target, target_size_name, index_var)[source]

Bases: brian2.groups.group.CodeRunner

The CodeRunner that updates a value in the target group with the sum over values in the Synapses object.