hikari.symmetry.hall
Classes
Parse, interpret, and convert Hall symbol to hikari.symmetry.Group |
Module Contents
- class hikari.symmetry.hall.HallSymbol(hall_symbol)[source]
Parse, interpret, and convert Hall symbol to hikari.symmetry.Group
- Parameters:
hall_symbol (str)
- exception HallSymbolException[source]
Bases:
ExceptionException raised when group can’t be generated from the symbol
- REGEX
This is a regex which matches every possible lowercase Hall symbol for classical 3D space groups. It matches up to 17 groups in total as follows:
Centrosymmetry: [-]?
Lattice symbol: [pabcirstf] (required)
Generator 1 inversion component: [-]?
Generator 1 rotation fold: d (required)
Generator 1 rotation direction: [*xyz]?
Generator 1 translation components: [12345abcnuvwd]*
Generator 2 inversion component: [-]?
Generator 2 rotation fold: d
Generator 2 rotation direction: [‘“xyz]?
Generator 2 translation components: [12345abcnuvwd]*
Generator 3 inversion component: [-]?
Generator 3 rotation fold: d
Generator 3 translation components: [12345abcnuvwd]*
Generator 4 rotation fold: d
Generator 4 translation components: [12345abcnuvwd]*
Origin shift constituent 1 expressed as count of 1/12 shifts: d
Origin shift constituent 2 expressed as count of 1/12 shifts: d
Origin shift constituent 3 expressed as count of 1/12 shifts: d
- DIRECTION_SYMBOLS = ("'", '"', '*')
- TRANSLATION_SYMBOLS = '12345abcnuvwd'
- LATTICE_GENERATORS
- UNIVERSAL_MATRICES
- PRINCIPAL_ROTATIONS
- FACE_X_DIAGONAL_ROTATIONS
- FACE_Y_DIAGONAL_ROTATIONS
- FACE_Z_DIAGONAL_ROTATIONS
- BODY_DIAGONAL_ROTATIONS
- STATIC_TRANSLATIONS
- DYNAMIC_TRANSLATIONS
- property symbol: str
- Return type:
str
- property elements: None | Match
Return self.symbol elements indexed as in self.HALL_REGEX doc
- Return type:
Union[None, Match]
- property generators: List[hikari.symmetry.operations.BoundedOperation]
- Return type: