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])