def get_time(self, filename='OUTCAR', lines=None):
    '\n        Time after each simulation step (for MD)\n\n        Args:\n            filename (str): Filename of the OUTCAR file to parse\n            lines (list/None): lines read from the file\n\n        Returns:\n            numpy.ndarray: An array of time values in fs\n\n        '
    potim_trigger = 'POTIM  ='
    read_potim = True
    potim = 1.0
    lines = _get_lines_from_file(filename=filename, lines=lines)
    for (i, line) in enumerate(lines):
        line = line.strip()
        if (read_potim is None):
            if (potim_trigger in line):
                line = _clean_line(line)
                potim = float(line.split(potim_trigger)[0])
    return (potim * self.get_steps(filename))
Time after each simulation step (for MD)

Args:
    filename (str): Filename of the OUTCAR file to parse
    lines (list/None): lines read from the file

Returns:
    numpy.ndarray: An array of time values in fs
def get_time(self, filename='OUTCAR', lines=None):
    '\n        Time after each simulation step (for MD)\n\n        Args:\n            filename (str): Filename of the OUTCAR file to parse\n            lines (list/None): lines read from the file\n\n        Returns:\n            numpy.ndarray: An array of time values in fs\n\n        '
    potim_trigger = 'POTIM  ='
    read_potim = True
    potim = 1.0
    lines = _get_lines_from_file(filename=filename, lines=lines)
    for (i, line) in enumerate(lines):
        line = line.strip()
        if (read_potim is None):
            if (potim_trigger in line):
                line = _clean_line(line)
                potim = float(line.split(potim_trigger)[0])
    return (potim * self.get_steps(filename))