rot_about_x

lsst.ts.mthexapod.rot_about_x(xyzpos: ndarray[Any, dtype[float64]], ang: float) ndarray[Any, dtype[float64]]

Rotate a 3-d position about the x axis.

Positive rotation is from y to z (the usual right-hand rule).

Parameters:
xyzposnumpy.ndarray

x, y, z position.

angfloat

Angle in radians.

Returns:
rotposnumpy.ndarray

Rotated x,y,z position.