SynapticSubgroup class¶
(Shortest import: from brian2.synapses.synapses import SynapticSubgroup)
- class brian2.synapses.synapses.SynapticSubgroup(synapses, indices)[source]¶
Bases:
objectA simple subgroup of
Synapsesthat can be used for indexing.- Parameters
indices :
ndarrayof intThe synaptic indices represented by this subgroup.
synaptic_pre :
DynamicArrayVariableReferences to all pre-synaptic indices. Only used to throw an error when new synapses where added after creating this object.