irradiapy.io.lammpslogreader module
Class to read LAMMPS log files.
- class irradiapy.io.lammpslogreader.LAMMPSLogReader(log_path)[source]
Bases:
objectClass to read LAMMPS log files.
- Parameters:
log_path (
Path) – The path to the LAMMPS log file.- Yields:
Generator[dict[str, Any], None, None] – A dictionary containing the thermo data.
Note
This generator yields a dictionary with a single key for the thermo data, this ensures compatibility if this reader is extended to read more data in the future.
- thermo: NDArray[float64]