map_into_symmetry_reduced_zone#
- Misorientation.map_into_symmetry_reduced_zone(verbose: bool = False) Misorientation[source]#
[Deprecated] Return equivalent transformations which have the smallest angle of rotation as a new misorientation.
- Parameters:
- verbose
Whether to print a progressbar. Default is
False.
- Returns:
moriA new misorientation object with the assigned symmetry.
Notes
Deprecated since version 0.12: Function map_into_symmetry_reduced_zone() is deprecated and will be removed in version 0.13. Use reduce() instead.
Examples
>>> from orix.quaternion.symmetry import C4, C2 >>> data = np.array([[0.5, 0.5, 0.5, 0.5], [0, 1, 0, 0]]) >>> m = Misorientation(data) >>> m.symmetry = (C4, C2) >>> m.map_into_symmetry_reduced_zone() Misorientation (2,) 4, 2 [[-0.7071 0. -0.7071 0. ] [ 0. 1. 0. 0. ]]