bluecellulab.psection¶
Represents a python version of NEURON Section (for drawing).
Functions
|
Initialize the psections list. |
Classes
|
Class that represents a cell section. |
- class bluecellulab.psection.PSection(hsection, isec=None)[source]¶
Class that represents a cell section.
- Parameters:
hsection (
HocObject)isec (
int|None)
- add_pchild(pchild)[source]¶
Add a python represent of a child section.
- Parameters:
pchild (
PSection)- Return type:
None
- all_descendants()[source]¶
Return all the psection that are descendants of this psection.
- Return type:
list[PSection]
- property hchildren: list[<TopLevelHocInterpreter>]¶
Return a list with the hoc sections of the children.
- property hparent: NeuronSection | None¶
Return the hoc section of the parent.
- property is_leaf: bool¶
Return true if section is a leaf in the morphological structure.
- property section_type: str¶
Return the type of the section.