to_rotation# OrientationMap.to_rotation(flatten=False)[source]# Convert the orientation map to a set of orix.Quaternion.Rotation objects. Parameters: flatten (bool) – If True, the rotations will be flattened to a 2D array. This is useful for passing to a CrystalMap object. Return type: orix.Quaternion.Rotation