neurom.core._neuron.Section¶
-
class
neurom.core._neuron.
Section
(points, section_id=None, section_type=<NeuriteType.undefined: 1>)[source]¶ Bases:
neurom.core.tree.Tree
Class representing a neurite section
Methods
__init__
add_child
Add a child to the list of this tree’s children ibifurcation_point
Iterator to bifurcation points. iforking_point
Iterator to forking points. ileaf
Iterator to all leaves of a tree ipostorder
Depth-first post-order iteration of tree nodes ipreorder
Depth-first pre-order iteration of tree nodes is_bifurcation_point
Is tree a bifurcation point? is_forking_point
Is tree a forking point? is_leaf
Is tree a leaf? is_root
Is tree the root node? iupstream
Iterate from a tree node to the root nodes Attributes
area
Return the surface area of this section. length
Return the path length of this section. volume
Return the volume of this section.