Struggling to get correlation vectors for structures #460
-
Hello! EDIT: Thanks again. I am trying to identify supercells for a 58V-3Cr-3Ti system (64 atoms). I have used a fine-tuned CHGNet model to relax randomly ordered 64 atom supercells, but am struggling to generate correlation vectors for each structure when following the creating-a-ce.ipynb I was wondering if there are any suggestions/debug strategies when trying to calculate correlation vectors? New to CE and smol so not too certain what's the best path forward. The exact error is:
To address this, I tried implementing my own structure matcher with a larger stol, ltol, and angle,
And then when creating the ClusterSubspace:
And finally calculating the correlation vector:
I get the following error:
Thank you and happy to provide further information! Myles |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @mstapelberg 👋 Glad you found a workaround for your problem! Though it sounds like your relaxed structures have shifted far (maybe too far?) from the initial structure. In some of these cases the correlations for the initial structure and relaxed structure may no longer be the same. For such cases with large relaxations what you tried to do by raising the tolerance in the
Hope this helps! |
Beta Was this translation helpful? Give feedback.
Hi @mstapelberg 👋
Glad you found a workaround for your problem!
Though it sounds like your relaxed structures have shifted far (maybe too far?) from the initial structure. In some of these cases the correlations for the initial structure and relaxed structure may no longer be the same.
For such cases with large relaxations what you tried to do by raising the tolerance in the
StructureMatcher
is exactly what I would recommend. To avoid the second error you got, I recommend passing the tolerance keywords (stol
,atol
, orltol
) directly to theClusterSubspace
constructor, instead of creating the structure matcher independently. This will take care of creating the correct structure matcher for…