makeSkyPolygonFromBBox

lsst.skymap.makeSkyPolygonFromBBox(bbox, wcs)

Make an on-sky polygon from a bbox and a SkyWcs

Parameters:
bbox : lsst.geom.Box2I or lsst.geom.Box2D

Bounding box of region, in pixel coordinates

wcs : lsst.afw.geom.SkyWcs

Celestial WCS

Returns:
polygon : lsst.sphgeom.ConvexPolygon

On-sky region