Load a Gromacs XTC file from disk.
The .xtc format is a cross-platform compressed binary trajectory format produced by the gromacs software that stores atomic coordinates, box vectors, and time information. It is lossy (storing coordinates to about 1e-3 A) and extremely space-efficient.
Parameters: | filename : str
top : {str, Trajectory, Topology}
stride : int, default=None
atom_indices : array_like, optional
frame : int, optional
|
---|---|
Returns: | trajectory : md.Trajectory
|
See also
Examples
>>> import mdtraj as md
>>> traj = md.load_xtc('output.xtc', top='topology.pdb')
>>> print traj
<mdtraj.Trajectory with 500 frames, 423 atoms at 0x110740a90>