Converting a primitive structure to conventional standard with pymatgen?

618 Views Asked by At

How do I convert a primitive structure to the conventional standard representation with pymatgen?

1

There are 1 best solutions below

0
On BEST ANSWER

To do this, use the SpacegroupAnalyzer object.

from pymatgen.symmetry.analyzer import SpacegroupAnalyzer
SGA = SpacegroupAnalyzer(primitive_structure)
conventional_structure = SGA.get_conventional_standard_structure()