msmbuilder.clustering.BaseFlatClusterer.get_generators_as_traj

BaseFlatClusterer.get_generators_as_traj()[source]

Get a trajectory containing the generators

Returns:

traj or ptraj : msmbuilder.Trajectory or np.ndarray

a trajectory object where each frame is one of the generators/medoids identified. If trajectories was not originally provided, then will only return the prepared generators