neurom.fst.sectionfunc.section_radial_distance

neurom.fst.sectionfunc.section_radial_distance(section, origin)[source]

Return the radial distances of a tree section to a given origin point

The radial distance is the euclidian distance between the end-point point of the section and the origin point in question.

Parameters:
  • section – neurite section object
  • origin – point to which distances are measured. It must have at least 3 components. The first 3 components are (x, y, z).