minimum_distance

clustertools.util.recipes.minimum_distance(x)[source]

Find distance to each point’s nearest neighbour

Parameters:
xfloat (array)

3D position of each point of the form [x,y,z].Transpose

Returns:
min_distancefloat

distance to each points nearest neighbour