PatchInfo¶
- class lsst.skymap.PatchInfo(index, innerBBox, outerBBox)¶
Bases:
object
Information about a patch within a tract of a sky map.
See
TractInfo
for more information.- Parameters:
- index
tuple
ofint
x,y index of patch (a pair of ints)
- innerBBox
lsst.geom.Box2I
inner bounding box
- outerBBox
lsst.geom.Box2I
inner bounding box
- index
Methods Summary
getIndex
()Return patch index: a tuple of (x, y)
Get inner bounding box.
getInnerSkyPolygon
(tractWcs)Get the inner on-sky region.
Get outer bounding box.
getOuterSkyPolygon
(tractWcs)Get the outer on-sky region.
Methods Documentation
- getInnerBBox()¶
Get inner bounding box.
- Returns:
- bbox
lsst.geom.Box2I
The inner bounding Box.
- bbox
- getInnerSkyPolygon(tractWcs)¶
Get the inner on-sky region.
- Returns:
- result
lsst.sphgeom.ConvexPolygon
The inner sky region.
- result
- getOuterBBox()¶
Get outer bounding box.
- Returns:
- bbox
lsst.geom.Box2I
The outer bounding Box.
- bbox
- getOuterSkyPolygon(tractWcs)¶
Get the outer on-sky region.
- Returns:
- result
lsst.sphgeom.ConvexPolygon
The outer sky region.
- result