vampire.analysis.get_cluster_order#

vampire.analysis.get_cluster_order(branches)[source]#

Get the cluster id of contours in order of dendrogram.

Parameters:
branchesdict

Output of scipy.cluster.hierarchy.dendrogram.

Returns:
object_index

The cluster id of contours in order of dendrogram.