calc_distance

Import in python using from mcot.core._scripts.parcel.random import calc_distance

mcot.core._scripts.parcel.random.calc_distance(distance, centers, labels)[source]

Calculate the distance between the cluster centra and the labels.