Children class¶
(Shortest import: from brian2.spatialneuron.morphology import Children)
-
class
brian2.spatialneuron.morphology.Children(owner)[source]¶ Bases:
objectHelper class to represent the children (sub trees) of a section. Can be used like a dictionary (mapping names to
Morphologyobjects), but iterates over the values (sub trees) instead of over the keys (names).Methods
add(name, subtree[, automatic_name])Add a new child to the morphology. name(child)Return the given name (i.e. remove(name)Remove a subtree from this morphology. Details