dot#

Orientation.dot(other: Orientation) ndarray[source]#

Return the symmetry reduced dot products of the orientations and the other orientations.

Parameters:
other

Other orientations.

Returns:
highest_dot_products

Symmetry reduced dot products.

See also

dot_outer

Examples

>>> from orix.quaternion import Orientation, symmetry
>>> o1 = Orientation.from_axes_angles([0, 0, 1], [0, 45], symmetry.Oh, degrees=True)
>>> o2 = Orientation.from_axes_angles([0, 0, 1], [45, 90], symmetry.Oh, degrees=True)
>>> o1.dot(o2)
array([0.92387953, 0.92387953])