rot

Rotation matrices.

mr_utils.utils.rot.rot(theta)[source]

2D rotation matrix through angle theta (rad).

Parameters:theta (float) – Angle in rad to rotate.
Returns:R – Rotation matrix.
Return type:array_like