qp.cluster.spheres.calc_dist

qp.cluster.spheres.calc_dist(point_a, point_b)[source]

Calculate the Euclidean distance between two points

Parameters:
  • point_a (numpy.array) – Point A

  • point_b (numpy.array) – Point B

Returns:

dist – The Euclidean distance between Point A and Point B

Return type:

float