imageOverlapsTract

lsst.meas.base.imageOverlapsTract(tract, imageWcs, imageBox)

Return whether the given bounding box overlaps the tract given a WCS.

Parameters:
tract : lsst.skymap.TractInfo

TractInfo specifying a tract.

imageWcs : lsst.afw.geom.SkyWcs

World coordinate system for the image.

imageBox : lsst.geom.Box2I

Bounding box for the image.

Returns:
overlap : bool

True if the bounding box overlaps the tract; False otherwise.