astroforge.coordinates.rmfu#
- astroforge.coordinates.rmfu(n, c, s)[source]#
Create a rotation matrix about axis n, given the sine s and cosine c of the rotation angle.
- Parameters:
- Returns:
R – Rotation matrix
- Return type:
NDArray[np.float64]
- Raises:
ValueError – Raised if the rotation axis is not in (0, 1, 2)