neurom.core.treeΒΆ

Generic tree class and iteration functions

Functions

i_branch_end_points Iterate over the furthest points in forking sections
i_chain Returns a mapped iterator to a collection of trees
ibifurcation_point Iterator to bifurcation points.
iforking_point Iterator to forking points.
ileaf Iterator to all leaves of a tree
imap_val Map function f to value of tree_iterator’s target
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?
isection Iterator to sections of a tree.
isegment Iterate over segments
itriplet Iterate over triplets
iupstream Iterate from a tree node to the root nodes
make_copy Copies a tree structure.
val_iter Iterator adaptor to iterate over Tree.value

Classes

Tree Simple tree class.