angle_with#
- Orientation.angle_with(other: Orientation, degrees: bool = False) ndarray [source]#
Return the smallest symmetry reduced angles of rotation transforming the orientations to the other orientations.
- Parameters:
- other
Another orientation.
- degrees
If
True
, the angles are returned in degrees. Default isFalse
.
- Returns:
angles
Smallest symmetry reduced angles in radians (
degrees=False
) or degrees (degrees=True
).