@staticmethod
def get_temperatures(filename='OUTCAR', lines=None):
    '\n        Gets the temperature at each ionic step (applicable 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 temperatures in Kelvin\n        '
    (trigger_indices, lines) = _get_trigger(lines=lines, filename=filename, trigger='kin. lattice  EKIN_LAT= ')
    temperatures = []
    if (len(trigger_indices) > 0):
        for j in trigger_indices:
            line = lines[j].strip()
            line = _clean_line(line)
            temperatures.append(float(line.split()[(- 2)]))
    else:
        temperatures = np.zeros(len(_get_trigger(lines=lines, trigger='FREE ENERGIE OF THE ION-ELECTRON SYSTEM (eV)', return_lines=False)))
    return np.array(temperatures)
Gets the temperature at each ionic step (applicable 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 temperatures in Kelvin
@staticmethod
def get_temperatures(filename='OUTCAR', lines=None):
    '\n        Gets the temperature at each ionic step (applicable 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 temperatures in Kelvin\n        '
    (trigger_indices, lines) = _get_trigger(lines=lines, filename=filename, trigger='kin. lattice  EKIN_LAT= ')
    temperatures = []
    if (len(trigger_indices) > 0):
        for j in trigger_indices:
            line = lines[j].strip()
            line = _clean_line(line)
            temperatures.append(float(line.split()[(- 2)]))
    else:
        temperatures = np.zeros(len(_get_trigger(lines=lines, trigger='FREE ENERGIE OF THE ION-ELECTRON SYSTEM (eV)', return_lines=False)))
    return np.array(temperatures)