neurom.morphmath.segment_taper_rate

neurom.morphmath.segment_taper_rate(seg)[source]

Compute the taper rate of a segment

Returns:The taper rate, defined as the absolute value of the difference in the diameters of the segment’s two points divided by the euclidian distance between them.