neurom.analysis.morphtree.find_tree_type¶
-
neurom.analysis.morphtree.
find_tree_type
(tree)¶ Calculates the ‘mean’ type of the tree. Accepted tree types are: ‘undefined’, ‘axon’, ‘basal’, ‘apical’ The ‘mean’ tree type is defined as the type that is shared between at least 51% of the tree’s points. :returns: The type of the tree