computeWarpedBBox#

lsst.afw.math.computeWarpedBBox(destWcs, srcBBox, srcWcs)#

Compute the bounding box of a warped image.

The bounding box includes all warped pixels and it may be a bit oversize.

Parameters#

destWcslsst.afw.geom.SkyWcs

WCS of warped exposure

srcBBoxlsst.geom.Box2I

parent bounding box of unwarped image

srcWcslsst.afw.geom.SkyWcs

WCS of unwarped image

Returns#

destBBox: lsst.geom.Box2I

bounding box of warped exposure