questions about units convert #249
-
Dear developers, Thank you in advance for any help you might be able to provide. Best regards, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Cristina, Thanks for your interest in our code! In general A very important caveat to this is For running simulations in LAMMPS, it is important to use the correct LAMMPS units to match those predicted by the network (which are those of the data)--- quoting the tutorial:
For the ASE calculator, |
Beta Was this translation helpful? Give feedback.
Hi Cristina,
Thanks for your interest in our code!
In general
nequip
is agnostic to units; the trained model will predict in whatever units the data is in. (Of course, the data must be self-constant and all in the same units.)A very important caveat to this is
dataset: ase
, which inherits the unit conversion behavior ofase.io.read
. This can be a bit subtle: if your data is in kcal/mol, for example, but in anextxyz
file, ASE can't know that and will assume it is eV (ASE units) and pass it along tonequip
, yielding anequip
model with kcal/mol units. However for some formats (mostly those coming out of DFT codes), ASE "knows" the units of the data and will convert them to eV and Angstrom…