Skip to content

questions about units convert #249

Answered by Linux-cpp-lisp
yuchanpei asked this question in Q&A
Discussion options

You must be logged in to vote

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 of ase.io.read. This can be a bit subtle: if your data is in kcal/mol, for example, but in an extxyz file, ASE can't know that and will assume it is eV (ASE units) and pass it along to nequip, yielding a nequip 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…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by yuchanpei
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants