rot_about_y#

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

Rotate a 3-d position about the y axis.

Positive rotation is from from z to x (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