CellInfo¶
- class lsst.skymap.CellInfo(index, innerBBox, outerBBox, sequentialIndex, tractWcs)¶
Bases:
objectInformation about a cell within a patch of a tract of a sky map.
See
PatchInfoandTractInfofor more information.- Parameters:
- index
lsst.skymap.Index2D x,y index of a cell (a pair of ints)
- innerBBox
lsst.geom.Box2I Inner bounding box.
- outerBBox
lsst.geom.Box2I Outer bounding box.
- sequentialIndex
int Cell sequential index.
- tractWcs
lsst.afw.geom.SkyWcs Tract WCS object.
- index
Attributes Summary
Return cell index: a tuple of (x, y)
Get inner bounding box.
Get outer bounding box.
Return cell sequential index.
Return the associated tract wcs
Methods Summary
getIndex()Return cell 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.
Return cell sequential index.
getWcs()Return the associated tract wcs
Attributes Documentation
- index¶
Return cell index: a tuple of (x, y)
- Returns:
- result
lsst.skymap.Index2D Patch index (x, y).
- result
- inner_bbox¶
Get inner bounding box.
- Returns:
- bbox
lsst.geom.Box2I The inner bounding Box.
- bbox
- inner_sky_polygon¶
- outer_bbox¶
Get outer bounding box.
- Returns:
- bbox
lsst.geom.Box2I The outer bounding Box.
- bbox
- outer_sky_polygon¶
- wcs¶
Return the associated tract wcs
- Returns:
- wcs
lsst.afw.geom.SkyWcs Tract WCS.
- wcs
Methods Documentation
- getIndex()¶
Return cell index: a tuple of (x, y)
- Returns:
- result
lsst.skymap.Index2D Patch index (x, y).
- result
- getInnerBBox()¶
Get inner bounding box.
- Returns:
- bbox
lsst.geom.Box2I The inner bounding Box.
- bbox
- getInnerSkyPolygon(tractWcs=None)¶
Get the inner on-sky region.
- Parameters:
- tractWcs
lsst.afw.image.SkyWcs, optional WCS for the associated tract.
- tractWcs
- 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=None)¶
Get the outer on-sky region.
- Parameters:
- tractWcs
lsst.afw.image.SkyWcs, optional WCS for the associated tract.
- tractWcs
- Returns:
- result
lsst.sphgeom.ConvexPolygon The outer sky region.
- result
- getWcs()¶
Return the associated tract wcs
- Returns:
- wcs
lsst.afw.geom.SkyWcs Tract WCS.
- wcs