2

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

1 Answers1

1

To do this, use the SpacegroupAnalyzer object.

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