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 of int

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:
result : tuple of int

Patch index (x, y).

getInnerBBox()

Get inner bounding box.

Returns:
bbox : lsst.geom.Box2I

The inner bounding Box.

getInnerSkyPolygon(tractWcs)

Get the inner on-sky region.

Returns:
result : lsst.sphgeom.ConvexPolygon

The inner sky region.

getOuterBBox()

Get outer bounding box.

Returns:
bbox : lsst.geom.Box2I

The outer bounding Box.

getOuterSkyPolygon(tractWcs)

Get the outer on-sky region.

Returns:
result : lsst.sphgeom.ConvexPolygon

The outer sky region.