dtrj_trans_info_str¶
-
mdtools.run_time_info.
dtrj_trans_info_str
(dtrj)[source]¶ Create a string containing basic information about the state transitions in a discrete trajectory.
Deprecated since version 0.0.0.dev0:
mdtools.run_time_info.dtrj_trans_info_str()
will be replaced bymdtools.run_time_info.dtrj_trans_info_str_new()
in a future release.The string can be printed directly to standard output using
print()
.The information contained in the string is:
The number of frames of the discrete trajectory (per compound).
The number of compounds (or in other words, the number of single-compound trajectories contained in dtrj).
The information generated by
mdtools.run_time_info.dtrj_trans_info()
.
- Parameters
dtrj (array_like) – The discrete trajectory. Array of shape
(n, f)
, wheren
is the number of compounds andf
is the number of frames. The elements of dtrj are interpreted as the indices of the states in which a given compound is at a given frame.- Returns
rti – Human readable string containing the above listed content.
- Return type
See also
mdtools.run_time_info.dtrj_trans_info()
Generate basic information about the state transitions in a discrete trajectory
mdtools.file_handler.indent()
Indent a text