rotaxis_from_rotmat#
- pycraf.geometry.rotaxis_from_rotmat(R)[source]#
Cartesian rotation axis and angle from rotation matrix.
- Parameters:
- R
array
Rotation matrix [no units!]
- R
- Returns:
Notes
Broadcasting is supported. The returned rotation axis vector is normalized (otherwise it’s magnitude would change the effective rotation angle).