Is PBC=[True, True, True] for all MPTrj datasets? #227
Replies: 1 comment 1 reply
-
Hi there! For all MPtrj containing datapoints, pbc should be [True, True, True], even for the slabs. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! I’ve been working with the MPTrj dataset and noticed that each sample includes a "lattice_mat" but no explicit "pbc" field. My workflow reads the lattice and multiplies by fractional coordinates to get atomic positions, like this:
However, there’s no "pbc" entry that I can find in the JSON (unlike other data sources I've used). I'm wondering if I should assume that pbc = [True, True, True] for all structures since it seems each structure is a fully periodic 3D crystal cell.
Questions:
(1) Should we always assume pbc = [True, True, True] for all MPTrj entries, given that we have a complete lattice_mat and fractional coordinates?
(2) Is there any case in MPTrj (like surfaces or molecules) that isn’t fully periodic?
Thanks in advance!
@bowen-bd
Beta Was this translation helpful? Give feedback.
All reactions