LSST Applications
21.0.0-147-g0e635eb1+1acddb5be5,22.0.0+052faf71bd,22.0.0+1ea9a8b2b2,22.0.0+6312710a6c,22.0.0+729191ecac,22.0.0+7589c3a021,22.0.0+9f079a9461,22.0.1-1-g7d6de66+b8044ec9de,22.0.1-1-g87000a6+536b1ee016,22.0.1-1-g8e32f31+6312710a6c,22.0.1-10-gd060f87+016f7cdc03,22.0.1-12-g9c3108e+df145f6f68,22.0.1-16-g314fa6d+c825727ab8,22.0.1-19-g93a5c75+d23f2fb6d8,22.0.1-19-gb93eaa13+aab3ef7709,22.0.1-2-g8ef0a89+b8044ec9de,22.0.1-2-g92698f7+9f079a9461,22.0.1-2-ga9b0f51+052faf71bd,22.0.1-2-gac51dbf+052faf71bd,22.0.1-2-gb66926d+6312710a6c,22.0.1-2-gcb770ba+09e3807989,22.0.1-20-g32debb5+b8044ec9de,22.0.1-23-gc2439a9a+fb0756638e,22.0.1-3-g496fd5d+09117f784f,22.0.1-3-g59f966b+1e6ba2c031,22.0.1-3-g849a1b8+f8b568069f,22.0.1-3-gaaec9c0+c5c846a8b1,22.0.1-32-g5ddfab5d3+60ce4897b0,22.0.1-4-g037fbe1+64e601228d,22.0.1-4-g8623105+b8044ec9de,22.0.1-5-g096abc9+d18c45d440,22.0.1-5-g15c806e+57f5c03693,22.0.1-7-gba73697+57f5c03693,master-g6e05de7fdc+c1283a92b8,master-g72cdda8301+729191ecac,w.2021.39
LSST Data Management Base Package
|
Public Member Functions | |
def | __init__ (self, ident, patchInnerDimensions, patchBorder, ctrCoord, radius, tractOverlap, wcs) |
def | getSequentialPatchIndex (self, patchInfo) |
def | getPatchIndexPair (self, sequentialIndex) |
def | findPatch (self, coord) |
def | findPatchList (self, coordList) |
def | getBBox (self) |
def | getCtrCoord (self) |
def | getId (self) |
def | getNumPatches (self) |
def | getPatchBorder (self) |
def | getPatchInfo (self, index) |
def | getPatchInnerDimensions (self) |
def | getTractOverlap (self) |
def | getVertexList (self) |
def | getInnerSkyPolygon (self) |
def | getOuterSkyPolygon (self) |
def | getWcs (self) |
def | __str__ (self) |
def | __repr__ (self) |
def | __iter__ (self) |
def | __len__ (self) |
def | __getitem__ (self, index) |
def | contains (self, coord) |
Information for a tract specified explicitly. A tract is placed at the explicitly defined coordinates, with the nominated radius. The tracts are square (i.e., the radius is really a half-size).
Definition at line 418 of file tractInfo.py.
def lsst.skymap.tractInfo.ExplicitTractInfo.__init__ | ( | self, | |
ident, | |||
patchInnerDimensions, | |||
patchBorder, | |||
ctrCoord, | |||
radius, | |||
tractOverlap, | |||
wcs | |||
) |
Reimplemented from lsst.skymap.tractInfo.TractInfo.
Definition at line 425 of file tractInfo.py.
|
inherited |
Definition at line 405 of file tractInfo.py.
|
inherited |
Definition at line 395 of file tractInfo.py.
|
inherited |
Definition at line 401 of file tractInfo.py.
|
inherited |
Definition at line 392 of file tractInfo.py.
|
inherited |
Definition at line 389 of file tractInfo.py.
|
inherited |
Does this tract contain the coordinate?
Definition at line 408 of file tractInfo.py.
|
inherited |
Find the patch containing the specified coord. Parameters ---------- coord : `lsst.geom.SpherePoint` ICRS sky coordinate to search for. Returns ------- result : `lsst.skymap.PatchInfo` PatchInfo of patch whose inner bbox contains the specified coord Raises ------ LookupError If coord is not in tract or we cannot determine the pixel coordinate (which likely means the coord is off the tract).
Definition at line 203 of file tractInfo.py.
|
inherited |
Find patches containing the specified list of coords. Parameters ---------- coordList : `list` of `lsst.geom.SpherePoint` ICRS sky coordinates to search for. Returns ------- result : `list` of `lsst.skymap.PatchInfo` List of PatchInfo for patches that contain, or may contain, the specified region. The list will be empty if there is no overlap. Notes ----- **Warning:** - This may give incorrect answers on regions that are larger than a tract. - This uses a naive algorithm that may find some patches that do not overlap the region (especially if the region is not a rectangle aligned along patch x,y).
Definition at line 233 of file tractInfo.py.
|
inherited |
|
inherited |
Get ICRS sky coordinate of center of tract (as an lsst.geom.SpherePoint)
Definition at line 283 of file tractInfo.py.
|
inherited |
Get ID of tract
Definition at line 289 of file tractInfo.py.
|
inherited |
Get inner on-sky region as a sphgeom.ConvexPolygon.
Definition at line 368 of file tractInfo.py.
|
inherited |
Get the number of patches in x, y. Returns ------- result : `tuple` of `int` The number of patches in x, y
Definition at line 294 of file tractInfo.py.
|
inherited |
Get outer on-sky region as a sphgeom.ConvexPolygon
Definition at line 374 of file tractInfo.py.
|
inherited |
Definition at line 304 of file tractInfo.py.
|
inherited |
Definition at line 197 of file tractInfo.py.
|
inherited |
Return information for the specified patch. Parameters ---------- index : `tuple` of `int` Index of patch, as a pair of ints; or a sequential index as returned by getSequentialPatchIndex; negative values are not supported. Returns ------- result : `lsst.skymap.PatchInfo` The patch info for that index. Raises ------ IndexError If index is out of range.
Definition at line 307 of file tractInfo.py.
|
inherited |
Get dimensions of inner region of the patches (all are the same)
Definition at line 348 of file tractInfo.py.
|
inherited |
Return a single integer that uniquely identifies the given patch within this tract.
Definition at line 189 of file tractInfo.py.
|
inherited |
Get minimum overlap of adjacent sky tracts.
Definition at line 353 of file tractInfo.py.
|
inherited |
Get list of ICRS sky coordinates of vertices that define the boundary of the inner region. Notes ----- **warning:** this is not a deep copy.
Definition at line 358 of file tractInfo.py.
|
inherited |
Get WCS of tract. Returns ------- wcs : `lsst.afw.geom.SkyWcs` The WCS of this tract
Definition at line 379 of file tractInfo.py.