- Rotation.unique(return_index: bool = False, return_inverse: bool = False, antipodal: bool = True) Union[Rotation, Tuple[Rotation, ndarray], Tuple[Rotation, ndarray, ndarray]] #
Return the unique rotations from these rotations.
Two rotations are not unique if they have the same propriety AND: - they have the same numerical value OR - the numerical value of one is the negative of the other
True, will also return the indices of the (flattened) data where the unique entries were found.
True, will also return the indices to reconstruct the (flattened) data from the unique data.
False, rotations representing the same transformation whose values are numerically different (negative) will not be considered unique.
Indices of the flattened rotations where the unique entries are found. Only returned if
Indices to reconstruct the flattened rotations from the initial rotations. Only returned if