code: def taper_rate(p0, p1):
      '''Compute the taper rate between points p0 and p1
  
      Args:
          p0, p1: 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.
      '''
      return 2 * abs(p0[COLS.R] - p1[COLS.R]) / point_dist(p0, p1f taper_rate(p0, p1):
      '''Compute the taper rate between points p0 and p1
  
      Args:
          p0, p1: 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.
      '''
      return 2 * abs(p0[COLS.R] - p1[COLS.R]) / point_dist(p0, p1)
docs: Compute the taper rate between points p0 and p1
  
      Args:
          p0, p1: 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.