using PBC for npz dataset #242
-
Hello, I tried finding this in the documentation and discussions but wanted to confirm. I'm using NequIP and training a model with a dataset that uses "pbc". My data format is npz and I'm specifying a pbc array in the npz file like Thanks for the help! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @ken1944 , Thanks for your interest in our code! We distinguish between |
Beta Was this translation helpful? Give feedback.
Hi @ken1944 ,
Thanks for your interest in our code!
We distinguish between
pbc
(whether each of the x,y,z directions is periodic) andcell
, which gives the box that is periodic as a(3, 3)
shape tensor whose rows are the three xyz cell vectors. So you'd want to setpbc = (True, True, True)
andcell = [[19.57, 0, 0], [0, 19,57, 0], [0, 0, 19.57]]
, basically.