|
|
Material symmetry class; this class only stores lattice: cubic, hexagonal.
Public Member Functions | |
| def | __cmp__ (self, other) |
| def | __copy__ (self) |
| def | __eq__ (self, other) |
| def | __init__ (self, symmetry=None) |
| def | __neq__ (self, other) |
| def | __repr__ (self) |
MATERIAL SPECIFIC ROUTINES | |
| def | symmetryQuats (self, who=[]) |
| List of symmetry operations as quaternions. More... | |
| def | unitCell (self) |
| Return unit cell edges. More... | |
| def | equivalentQuaternions (self, quaternion, who=[]) |
| List of symmetrically equivalent quaternions based on own symmetry. More... | |
| def | inFZ (self, R) |
| Check whether given Rodrigues vector falls into fundamental zone of own symmetry. More... | |
| def | inDisorientationSST (self, R) |
| Check whether given Rodrigues vector (of misorientation) falls into standard stereographic triangle of own symmetry. More... | |
| def | inSST (self, vector, proper=False, color=False) |
| Check whether given vector falls into standard stereographic triangle of own symmetry. More... | |
Math routines to convert between HKL, XY, RGB | |
| def | xyToHKL (self, inPlane) |
| convert xy (coordinates in projection plane (-1<x<1,-1<y<1)) -> hkl More... | |
| def | standardTriangle (self, fileName=None, show=True, stepSize=0.01) |
| Plot standard triangle with background, discrete points in color, save to file, add text. More... | |
| def ebsd_Symmetry.Symmetry.__init__ | ( | self, | |
symmetry = None |
|||
| ) |
| def ebsd_Symmetry.Symmetry.__cmp__ | ( | self, | |
| other | |||
| ) |
| def ebsd_Symmetry.Symmetry.__copy__ | ( | self | ) |
| def ebsd_Symmetry.Symmetry.__eq__ | ( | self, | |
| other | |||
| ) |
| def ebsd_Symmetry.Symmetry.__neq__ | ( | self, | |
| other | |||
| ) |
| def ebsd_Symmetry.Symmetry.__repr__ | ( | self | ) |
| def ebsd_Symmetry.Symmetry.equivalentQuaternions | ( | self, | |
| quaternion, | |||
who = [] |
|||
| ) |
List of symmetrically equivalent quaternions based on own symmetry.
| def ebsd_Symmetry.Symmetry.inDisorientationSST | ( | self, | |
| R | |||
| ) |
Check whether given Rodrigues vector (of misorientation) falls into standard stereographic triangle of own symmetry.
Determination of disorientations follow the work of A. Heinz and P. Neumann: Representation of Orientation and Disorientation Data for Cubic, Hexagonal, Tetragonal and Orthorhombic Crystals Acta Cryst. (1991). A47, 780-789
| def ebsd_Symmetry.Symmetry.inFZ | ( | self, | |
| R | |||
| ) |
Check whether given Rodrigues vector falls into fundamental zone of own symmetry.
| def ebsd_Symmetry.Symmetry.inSST | ( | self, | |
| vector, | |||
proper = False, |
|||
color = False |
|||
| ) |
Check whether given vector falls into standard stereographic triangle of own symmetry.
| vector | hkl vector tested/converted to rbg; considers only this vector, no crystal orientation |
| proper | considers only vectors with z >= 0, hence uses two neighboring SSTs to determine if in SST. i.e. allows more positive results, rgb-value does not depend on this |
| color | if true, return also color |
| def ebsd_Symmetry.Symmetry.standardTriangle | ( | self, | |
fileName = None, |
|||
show = True, |
|||
stepSize = 0.01 |
|||
| ) |
Plot standard triangle with background, discrete points in color, save to file, add text.
Corner points of triangle
| fileName | save to file |
| show | True [default] shows figure, else not |
| stepSize | plotting accuracy: lower value=better quality |
| def ebsd_Symmetry.Symmetry.symmetryQuats | ( | self, | |
who = [] |
|||
| ) |
List of symmetry operations as quaternions.
| def ebsd_Symmetry.Symmetry.unitCell | ( | self | ) |
Return unit cell edges.
| def ebsd_Symmetry.Symmetry.xyToHKL | ( | self, | |
| inPlane | |||
| ) |
convert xy (coordinates in projection plane (-1<x<1,-1<y<1)) -> hkl
required for plotting the standardTriangle
| inPlane | vector coordinates in the plane of the stereograhic projection plane |