msmbuilder.clustering.deterministic_subsample¶
- msmbuilder.clustering.deterministic_subsample(trajectories, stride, start=0)[source]¶
Given a list of trajectories, return a single trajectory shrink_multiple times smaller than the total number of frames in trajectories by taking every “stride”th frame, starting from “start”
Note that this method will modify the trajectory objects that you pass in
Parameters: trajectories : list of msmbuilder.Trajectory
trajectories to subsample from
stride : int
freq to subsample at
start : int
first frame to pick
Returns: trajectory : msmbuilder.trajectory
shortened trajectory