rot_about_x#

lsst.ts.mthexapod.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 – Rotated x,y,z position.

Return type:

numpy.ndarray