neurom.fst.sectionfunc.section_end_distance

neurom.fst.sectionfunc.section_end_distance(section)[source]

End to end distance of a section

The end to end distance of a section is defined as the euclidian distnce between its end points.

If the section contains less than 2 points, the value 0 is returned.