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
Methods Summary
getIndex
()Return patch index: a tuple of (x, y) getInnerBBox
()Get inner bounding box. getInnerSkyPolygon
(tractWcs)Get the inner on-sky region. getOuterBBox
()Get outer bounding box. getOuterSkyPolygon
(tractWcs)Get the outer on-sky region. Methods Documentation
-
getIndex
()¶ Return patch index: a tuple of (x, y)
Returns:
-
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 :
- index :