msmbuilder.clustering.BaseFlatClusterer.get_distances

BaseFlatClusterer.get_distances()[source]

Extract the distance from each frame to its assigned cluster kcenter

Returns:

distances : ndarray

2D array of size num_trajs x length of longest traj, such that distances[i,j] gives the distance from the ith trajectorys jth frame to its assigned cluster center