rot_about_z#

lsst.ts.mthexapod.rot_about_z(xyzpos, ang)#

Rotate a 3-d position about the z axis.

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

Parameters:
  • xyzpos (tuple [float]) – x, y, z position.

  • ang (float) – Angle in radians.

Returns:

rotpos – Rotated x,y,z position.

Return type:

numpy.ndarray