get_last_time_from_log

gmx.get_last_time_from_log(fname)[source]

Extract the time of the last frame of an Gromacs MD simulation from the .log file.

Parameters:

fname (str or bytes or os.PathLike) – Name of the .log file.

Returns:

time (float) – The time of the last frame in the .log file.