MorphologyIndexWrapper class¶
(Shortest import: from brian2.spatialneuron.morphology import MorphologyIndexWrapper)
-
class
brian2.spatialneuron.morphology.
MorphologyIndexWrapper
(morphology)[source]¶ Bases:
object
A simpler version of
IndexWrapper
, not allowing for string indexing (Morphology
is not aGroup
). It allows to usemorphology.indices[...]
instead ofmorphology[...]._indices()
.