msmbuilder.clustering.BaseFlatClusterer.get_assignments

BaseFlatClusterer.get_assignments()[source]

Assign the trajectories you passed into the constructor based on generators that have been identified

Returns:

assignments : ndarray

2D array of assignments where k = assignments[i,j] means that the jth frame in the ith trajectory is assigned to the center whose coordinates are in the kth frame of the trajectory in get_generators_as_traj()