getFlippedPos

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

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

Parameters:
xyPos : pair of float

Position to rotate.

flipX : bool

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

Returns:
xyResult : pair of float

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