neurom.analysis.morphtree.i_segment_radial_dist

neurom.analysis.morphtree.i_segment_radial_dist(pos, tree)

Return an iterator of radial distances of tree segments to a given point

The radial distance is the euclidian distance between the mid-point of the segment and the point in question.

Parameters:
  • pos – origin to which disrances are measured. It must have at least 3
  • The first 3 components are (components.) –
  • tree – tree of raw data rows.