computeShiftedPlanePos

lsst.cbp.coordUtils.computeShiftedPlanePos(planePos, fieldAngle, shift)

Compute the plane position of a vector on a plane shifted along the optical axis.

Parameters:
planePospair of float

Plane position at which the vector intersects the plane (x, y).

fieldAnglepair of float

Field angle of vector (x, y radians).

shiftfloat

Amount by which the new plane is shifted along the optical axis. If shift and both components of fieldAngle are positive then both axes of the shifted plane position will be larger (more positive) than planePos.

Returns:
shiftedPlanePostuple of float

Plane position at which vector intersects the shifted plane (x, y).

Notes

flipX is not an input because for this computation it does not matter if the x axis is flipped: fieldAngle and planePos are either both flipped or not, and that cancels out the effect.