pupilPositionToVector

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

Convert a pupil plane position to a 3D vector.

Parameters:
xyPos : sequence of 2 float

pupil plane position (mm).

flipX : bool

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

Returns:
vector : sequence of 3 float

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