distance

clustertools.util.recipes.distance(x1, x2)[source]

Find distance between two points (made for use with numba)

Parameters:
x1float

3D position of first point of the form [x,y,z]

x2float

3D position of first point of the form [x,y,z]

Returns:
distancefloat

distance between the two points