getFlippedPos

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

Get a 2-dimensional position with the x axis properly flipped.

Parameters:
xyPospair of float

Position to rotate.

flipXbool

True if the x axis should be flipped (negated).

Returns:
xyResultpair of float

xyPos with the x axis flipped or not, according to flipX