neurom.analysis.morphtree.trunk_origin_direction

neurom.analysis.morphtree.trunk_origin_direction(tree, soma)

Vector of trunk origin direction defined as (initial tree point - soma center) of the tree.