fractaldna.structure_models.voxelisation.rot_ax_angle
- fractaldna.structure_models.voxelisation.rot_ax_angle(axis, angle)
Build the rotation matrix for a given rotation around an axis
- Parameters:
axis (
Union[List,array]) – Rotation axis (3-vector)angle (
float) – rotation angle (radians)
- Return type:
array- Returns:
The rotation matrix