Read themo info from lammps output file or log file
Project description
ReadLog
- A python code to read thermo info from lammps log file
Installation
git clone https://github.com/eastsheng/ReadLog.git
cd ReadLog
python setup.py sdist
pip install .
Requirements
- numpy
- pandas
- matplotlib
Usage
import readlog as RLog
rl = RLog.ReadLog(logfile)
thermou_list,thermod_list = rl.ReadUD(path+logfile)
pd_thermo = rl.ReadThermo(path+logfile,thermou_list,thermod_list,nf_log=0)
step = pd_thermo["Step"]
P = pd_thermo["Press"]
T = pd_thermo["Temp"]
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
readlog-1.1.4.tar.gz
(2.9 kB
view hashes)