pupilPositionToVector

lsst.cbp.coordUtils.pupilPositionToVector(xyPos, flipX)

Convert a pupil plane position to a 3D vector.

Parameters:
xyPossequence of 2 float

pupil plane position (mm).

flipXbool

True if the x axis of the position is flipped (negated).

Returns:
vectorsequence of 3 float

3-dimensional vector in the pupil frame: x = 0, y = plane position x, z = plane position y.