|
lsst.skymap g6075d09f38+136fbe1e46
|
Public Member Functions | |
| def | __init__ (self, index, innerBBox, outerBBox, sequentialIndex, tractWcs) |
| def | getIndex (self) |
| def | getSequentialIndex (self) |
| def | getWcs (self) |
| def | getInnerBBox (self) |
| def | getOuterBBox (self) |
| def | getInnerSkyPolygon (self, tractWcs=None) |
| def | inner_sky_polygon (self) |
| def | getOuterSkyPolygon (self, tractWcs=None) |
| def | outer_sky_polygon (self) |
| def | __eq__ (self, rhs) |
| def | __ne__ (self, rhs) |
| def | __str__ (self) |
| def | __repr__ (self) |
Properties | |
| index = property(getIndex) | |
| sequential_index = property(getSequentialIndex) | |
| wcs = property(getWcs) | |
| inner_bbox = property(getInnerBBox) | |
| outer_bbox = property(getOuterBBox) | |
Information about a cell within a patch of a tract of a sky map.
See `PatchInfo` and `TractInfo` for 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.
Definition at line 28 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.__init__ | ( | self, | |
| index, | |||
| innerBBox, | |||
| outerBBox, | |||
| sequentialIndex, | |||
| tractWcs | |||
| ) |
Definition at line 46 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.__eq__ | ( | self, | |
| rhs | |||
| ) |
Definition at line 155 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.__ne__ | ( | self, | |
| rhs | |||
| ) |
Definition at line 160 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.__repr__ | ( | self | ) |
Definition at line 166 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.__str__ | ( | self | ) |
Definition at line 163 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.getIndex | ( | self | ) |
Return cell index: a tuple of (x, y)
Returns
-------
result : `lsst.skymap.Index2D`
Patch index (x, y).
Definition at line 55 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.getInnerBBox | ( | self | ) |
Get inner bounding box.
Returns
-------
bbox : `lsst.geom.Box2I`
The inner bounding Box.
Definition at line 91 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.getInnerSkyPolygon | ( | self, | |
tractWcs = None |
|||
| ) |
Get the inner on-sky region.
Parameters
----------
tractWcs : `lsst.afw.image.SkyWcs`, optional
WCS for the associated tract.
Returns
-------
result : `lsst.sphgeom.ConvexPolygon`
The inner sky region.
Definition at line 115 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.getOuterBBox | ( | self | ) |
Get outer bounding box.
Returns
-------
bbox : `lsst.geom.Box2I`
The outer bounding Box.
Definition at line 103 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.getOuterSkyPolygon | ( | self, | |
tractWcs = None |
|||
| ) |
Get the outer on-sky region.
Parameters
----------
tractWcs : `lsst.afw.image.SkyWcs`, optional
WCS for the associated tract.
Returns
-------
result : `lsst.sphgeom.ConvexPolygon`
The outer sky region.
Definition at line 135 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.getSequentialIndex | ( | self | ) |
Return cell sequential index.
Returns
-------
result : `int`
Sequential cell index.
Definition at line 67 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.getWcs | ( | self | ) |
Return the associated tract wcs
Returns
-------
wcs : `lsst.afw.geom.SkyWcs`
Tract WCS.
Definition at line 79 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.inner_sky_polygon | ( | self | ) |
Definition at line 132 of file cellInfo.py.
| def lsst.skymap.cellInfo.CellInfo.outer_sky_polygon | ( | self | ) |
Definition at line 152 of file cellInfo.py.
|
static |
Definition at line 65 of file cellInfo.py.
|
static |
Definition at line 101 of file cellInfo.py.
|
static |
Definition at line 113 of file cellInfo.py.
|
static |
Definition at line 77 of file cellInfo.py.
|
static |
Definition at line 89 of file cellInfo.py.