mat_to_rod#

anri.crystal.mat_to_rod(U)[source]#

Convert rotation matrices (rotation angle below 180 degrees) to Rodrigues vectors.

Parameters:

U (Array | ndarray | bool | number | bool | int | float | complex) – […, 3, 3] rotation matrices

Returns:

np.ndarray – […, 3] Rodrigues vectors