Load an MDTraj hdf5 trajectory file from disk.
Parameters: | filename : str
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_hdf5('output.h5')
>>> print traj
<mdtraj.Trajectory with 500 frames, 423 atoms at 0x110740a90>
>>> traj2 = md.load_hdf5('output.h5', stride=2, top='topology.pdb')
>>> print traj2
<mdtraj.Trajectory with 250 frames, 423 atoms at 0x11136e410>