Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如何使用 pymatgen 将原始结构转换为常规标准表示?
为此,请使用 SpacegroupAnalyzer 对象。
from pymatgen.symmetry.analyzer import SpacegroupAnalyzer SGA = SpacegroupAnalyzer(primitive_structure) conventional_structure = SGA.get_conventional_standard_structure()