Residence Time Calculation Script for LAMMPS Molecular Dynamics Output
- To install argparse:
$ pip install --upgrade argparse
- To install sklearn:
$ pip install --upgrade sklearn
- To install tqdm:
$ pip install --upgrade tqdm
- To get help about running the script:
$ python residence-time.py --help
- To run the script:
For example,
$ python residence-time.py "path_to_data_file" "path_to_dump_file" adsorbent_atom_id_start adsorbent_atom_id_end adsorbate_atom_id_start adsorbate_atom_id_end
$ python residence-time.py 500w_25h202_5pnp_sci_npt_100ps2.data 500w_25h202_5pnp_sci_npt_100ps2.dump 1 149 150 1649