msmbuilder.clustering.KCenters.get_distances¶
- KCenters.get_distances()¶
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