paramagpy.protein.rotation_matrix

paramagpy.protein.rotation_matrix(axis, theta)[source]

Return the rotation matrix associated with counterclockwise rotation about the given axis by theta radians.

Parameters

axis (array of floats) – the [x,y,z] axis for rotation.

Returns

matrix – the rotation matrix

Return type

numpy 3x3 matrix object