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

x,y index of patch (a pair of ints)

innerBBoxlsst.geom.Box2I

inner bounding box

outerBBoxlsst.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
resulttuple of int

Patch index (x, y).

getInnerBBox()

Get inner bounding box.

Returns
bboxlsst.geom.Box2I

The inner bounding Box.

getInnerSkyPolygon(tractWcs)

Get the inner on-sky region.

Returns
resultlsst.sphgeom.ConvexPolygon

The inner sky region.

getOuterBBox()

Get outer bounding box.

Returns
bboxlsst.geom.Box2I

The outer bounding Box.

getOuterSkyPolygon(tractWcs)

Get the outer on-sky region.

Returns
resultlsst.sphgeom.ConvexPolygon

The outer sky region.