Module:
sdynpy.fileio.sdynpy_vicSource: GitHub
Signature¶
def sdynpy.fileio.sdynpy_vic.vic_angles_from_matrix(R)Extract Bryant Angles from a rotation matrix.
Extracts rotation angles r_x, r_y, r_z for the x,y,z rotation sequence.
Parameters¶
R : np.ndarray A 3x3 array representing a rotation matrix.
Returns¶
rx : float Rotation angle about X in radians
ry : float Rotation angle about Y in radians
rz : float Rotation angle about Z in radians