neurom.analysis.morphtree.get_tree_type

neurom.analysis.morphtree.get_tree_type(tree)

Return a tree’s type

If tree does not have a type, calculate it. Otherwise, use its pre-computed value.