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 a Group). It allows to use morphology.indices[...] instead of morphology[...]._indices().