-
Right now I'm using pymatgen's |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @sgbaird , thanks for your question! I think the straightforward answers are:
p2ptrans is meant to find the shortest distance between two infinite lattice regardless of their representations (see why that can be problematic on Figure 1 of our JCP paper ). The focus is on the mapping more than on similarity. Although you can use it to compute a distance, if you are only interested in similarity I recommend you use a fingerprint based method as they do not necessitate the prohibitive mapping step, see USPEX for example. If you want to try p2ptrans, you can make it much faster if you don't care as much about finding the absolute shortest distance between two structures by (1) reducing the size of the mapping spheres (-n) and (2) reducing the number of random starts (n_iter). If you have relatively small structures you may get away with matching on the order of a second. This would be at your own risk as you would need to make sure that the results are consistent enough with what you would get with larger spheres and more random steps. I hope this helps, let me know if you have more questions. |
Beta Was this translation helpful? Give feedback.
Hey @sgbaird , thanks for your question! I think the straightforward answers are:
p2ptrans is meant to find the shortest distance between two infinite lattice regardless of their representations (see why that can be problematic on Figure 1 of our JCP paper ). The focus is on the mapping more than on similarity. Although you can use it to compute a distance, if you are only interested in similarity I recommend you use a fingerprint based method as they do not necessitate the prohibitive mapping step, see USPEX for example.