neurom.analysis.morphtree.i_section_radial_dist¶
-
neurom.analysis.morphtree.
i_section_radial_dist
(tree, pos=None, use_start_point=False)¶ Return an iterator of radial distances of tree sections to a given point
The radial distance is the euclidian distance between the either the end-point or rhe start point of the section and the point in question.
Parameters: - tree – tree object
- pos – origin to which distances are measured. It must have at least 3 components. The first 3 components are (x, y, z). (default tree origin)
- use_start_point – If true, calculate distance from section start point, else from end-point (default, False)