- class orix.quaternion.Orientation(data: Union[ndarray, Misorientation, list, tuple], symmetry: Optional[Tuple[Symmetry, Symmetry]] = None)#
Orientations represent misorientations away from a reference of identity and have only one associated symmetry.
Orientations support binary subtraction, producing a misorientation. That is, to compute the misorientation from \(g_1\) to \(g_2\), call
g_2 - g_1.
In orix, orientations and misorientations are distinguished from rotations only by the inclusion of a notion of symmetry. Consider the following example:
Both objects have undergone the same rotations with respect to the reference. However, because the square has four-fold symmetry, it is indistinguishable in both cases, and hence has the same orientation.
Return the smallest symmetry reduced angles of rotation transforming the orientations to the other orientations.
Orientation.angle_with_outer(other[, lazy, ...])
Return the symmetry reduced smallest angle of rotation transforming every orientation in this instance to every orientation in another instance.
Return the symmetry reduced dot products of the orientations and the other orientations.
Return the symmetry reduced dot products of all orientations to all other orientations.
Return an estimated orientation to optimally align vectors in the crystal and sample reference frames.
Orientation.from_axes_angles(axes, angles[, ...])
Initialize from axis-angle pair(s).
Orientation.from_euler(euler[, symmetry, ...])
Initialize from an array of Euler angles.
Return orientation(s) from orientation matrices [Rowenhorst et al., 2015].
Return orientation(s) from a neo-euler (vector) representation.
Return orientation(s) from
Return the symmetry reduced smallest angle of rotation transforming all these orientations to all the other orientations [Johnstone et al., 2020].
Euler angles in the fundamental Euler region of the proper subgroup.
Plot the unit cell orientation, showing the sample and crystal reference frames.
Orientation.scatter([projection, figure, ...])
Plot orientations in axis-angle space, the Rodrigues fundamental zone, or an inverse pole figure (IPF) given a sample direction.