neurom.morphmath.taper_rate¶
-
neurom.morphmath.
taper_rate
(p0, p1)[source]¶ Compute the taper rate between points p0 and p1
Parameters: p1 (p0,) – iterables with first 4 components containing (x, y, z, r) Returns: The taper rate, defined as the absolute value of the difference in the diameters of p0 and p1 divided by the euclidian distance between them.