class
OpContents
- Reference
Methods
- def apply_to_hkl(self, hkl: typing.List[int[3]]) -> typing.List[int[3]]
- def apply_to_xyz(self, xyz: typing.List[float[3]]) -> typing.List[float[3]]
- def combine(self, b: Op) -> Op
- Combine two symmetry operations.
- def det_rot(self, /) -> int
- Determinant of the 3x3 matrix.
- def float_seitz(self, /) -> typing.List[typing.List[float[4]][4]]
- Returns Seitz matrix (floats)
- def inverse(self, /) -> Op
- Returns inverted operator.
- def negated(self, /) -> Op
- Returns Op with all elements nagated
- def phase_shift(self, hkl: typing.List[int[3]]) -> float
- def seitz(self, /) -> list
- Returns Seitz matrix (fractions)
- def translated(self, a: typing.List[int[3]]) -> Op
- Adds a to tran
- def triplet(self, /) -> str
- Returns coordinate triplet x,y,z.
- def wrap(self, /) -> Op
- Wrap the translation part to [0,1)
Special methods
- def __eq__(self, arg0: Op, /) -> bool
- def __eq__(self, arg0: str, /) -> bool
- def __hash__(self, /) -> int
- def __init__(self, /) -> None
- def __init__(self, arg0: str, /) -> None
- def __mul__(self, arg0: Op, /) -> Op
- def __mul__(self, arg0: str, /) -> Op
- def __repr__(self, /) -> str
- def __rmul__(self, arg0: str, /) -> Op
Properties
- rot: typing.List[typing.List[int[3]][3]] get set
- 3x3 integer matrix.
- tran: typing.List[int[3]] get set
- Numerators (integers) of the translation vector. Denominator DEN=24.
Data
- DEN = 24