mdtraj.load_arc

mdtraj.load_arc(filename, stride=None, atom_indices=None, frame=None)

Load a TINKER .arc file from disk.

Parameters:
filenamepath-like

Path of TINKER .arc file.

strideint, default=None

Only read every stride-th frame

atom_indicesarray_like, optional

If not none, then read only a subset of the atoms coordinates from the file.

frameint, optional

Use this option to load only a single frame from a trajectory on disk. If frame is None, the default, the entire trajectory will be loaded. If supplied, stride will be ignored.

Returns:
trajectorymd.Trajectory

The resulting trajectory, as an md.Trajectory object.

See also

mdtraj.ArcTrajectoryFile

Low level interface to TINKER .arc files