Input files, periodic boundary conditions #133
-
Hi, I trying to familiarizing myself with nequip by repeating some simulations that a student did with other NN based potentials. In that connection, I looked at how to present the data for Nequip, and the NPZ files look like the most compact format. I tried to work out what to put in these files based on the examples, but have a few questions.
Thank you very much for your help. I am hoping to soon start a student project using Nequip, so I better understand how it works first :-) /Jakob |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
Hi Jakob, Generally we recommend Point by point:
so that it knows that the same single cell is shared across all frames.
with
Test sets are specified to Let me know if this is unclear or incomplete, and looking forward to hearing about what you do with NequIP! |
Beta Was this translation helpful? Give feedback.
Hi Jakob,
Generally we recommend
extxyz
(ASE's favorite format) as the easiest and most flexible way to deal with data. In particular, it can handle your second point. The npz format only handles rectangular inputs where the number of atoms does not change, and we do not at this point have support for combining multiple datasets specified separately--- this is supported through combining them in preprocessing instead.Point by point:
npz
, you provide acell
array of shape[n_frame, 3, 3]
or[3, 3]
. If the latter, you must also setso that it knows that the same single cell is shared across all frames.
For
extxyz
, writing out the file through ASE will …