time_step¶
-
mdtools.check.
time_step
(trj, verbose=True)[source]¶ Check whether all frames in a MDAnalysis trajectory have the same
time step
.- Parameters
trj (MDAnalysis.coordinates.base.ReaderBase or MDAnalysis.coordinates.base.FrameIteratorBase) – The MDAnalysis trajectory to check.
verbose (bool, optional) – If
True
, print progress information to standard output.
- Raises
ValueError – If not all frames have the same
time step
.