kinetics
Map kinetics from gibbs data to md trajectory.
This module provides the MapKinetics class, which creates trajectories and weighted densities based on the clustered gibbs data and original trajectory.
- class kinetics.MapKinetics(gibbs, contacts)[source]
The MapKinetics class takes processed Gibbs sampler data (an instance of the Gibbs class) and the contact file to create costomized trajectories, containing all of sel1 from the initial contact analysis and a single sel2 residue.
- Parameters:
- create_traj(top_n=None)[source]
Create the customized trajectories for the individual mixture components of the model. If top_n is None, a single trajectory is created with all of sel1 and a single sel2 residue, with every contact accounted for (ie. a single frame in the original trajectory may be used multiple times due to multiple contacts formed with the sel1 residue of interest at that frame).
- Parameters:
top_n (int) – Number of frames desired for the individual trajectories (sorted in order of decreasing classification probability).