BGlib.be.analysis.utils.be_loop.get_rotation_matrix

BGlib.be.analysis.utils.be_loop.get_rotation_matrix(theta)[source]

Returns the rotation matrix in 2D, given the angle theta

Parameters:

theta (float) – Angle in radians

Returns:

mat – rotation matrix

Return type:

2D numpy array