rot_about_x

lsst.ts.hexapod.rot_about_x(xyzpos, ang)

Rotate a 3-d position about the x axis.

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

Parameters:
xyzpos : numpy.ndarray

x, y, z position.

ang : float

Angle in radians.

Returns:
rotpos : numpy.ndarray

Rotated x,y,z position.