pytransform3d.rotations.matrix_from_quaternion# pytransform3d.rotations.matrix_from_quaternion(q)[source]# Compute rotation matrix from quaternion. This typically results in an active rotation matrix. Parameters: qarray-like, shape (4,)Unit quaternion to represent rotation: (w, x, y, z) Returns: Rarray-like, shape (3, 3)Rotation matrix