SpatialSubgroup class

(Shortest import: from brian2.spatialneuron.spatialneuron import SpatialSubgroup)

class brian2.spatialneuron.spatialneuron.SpatialSubgroup(source, start, stop, morphology, name=None)[source]

Bases: brian2.groups.subgroup.Subgroup

A subgroup of a SpatialNeuron.


source : int

First compartment.

stop : int

Ending compartment, not included (as in slices).

morphology : Morphology

Morphology corresponding to the subgroup (not the full morphology).

name : str, optional

Name of the subgroup.