mdtraj.load_arc

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

Load a TINKER .arc file from disk.

Parameters:

filename : str

String filename of TINKER .arc file.

top : {str, Trajectory, Topology}

The .arc format does not contain topology information. Pass in either the path to a pdb file, a trajectory, or a topology to supply this information.

stride : int, default=None

Only read every stride-th frame

atom_indices : array_like, optional

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

Returns:

trajectory : md.Trajectory

The resulting trajectory, as an md.Trajectory object.

See also

mdtraj.ArcTrajectoryFile
Low level interface to TINKER .arc files
Versions