Open SKPlin opened 2 months ago
You can use the following code to convert trj format to other formats.I hope it can help you
import ase
from ase.io.trajectory import Trajectory
traj = Trajectory('./results_path/trajectory.trj')
ase.io.write('trajectory.xsf',traj,'xsf')
When I try to modify the ensemble settings or adjust the output format of trajectory files (especially when I'm unable to open binary trj files), I still feel a bit confused. For instance, I'm not sure how to change it to an NPT ensemble(is it similar to ASE?), whether it's possible to switch the trajectory format to LAMMPS's trajectory format or some other format, and what software can be used to open binary trajectory files (with trj extension).