Symmetry#
- class anri.crystal.Symmetry(sym_instance)[source]#
Bases:
objectClass to hold and manipulate symmetry operators.
Extends
Dans_Diffraction.classes_crystal.Symmetry().Attributes
Return the name of the spacegroup.
Return the number of the spacegroup.
Return the symmetry operators.
Methods
Symmetry.from_name(sg_name)Create instance from a spacegroup name string (e.g., 'Fm-3m').
Symmetry.from_number(sg_number)Create instance from a spacegroup number (1-230).