lsst.skymap
16.0-1-g4515a79+5
|
Public Member Functions | |
def | __init__ (self, ident, patchInnerDimensions, patchBorder, ctrCoord, radius, tractOverlap, wcs) |
def | getSequentialPatchIndex (self, patchInfo) |
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 336 of file tractInfo.py.
def lsst.skymap.tractInfo.ExplicitTractInfo.__init__ | ( | self, | |
ident, | |||
patchInnerDimensions, | |||
patchBorder, | |||
ctrCoord, | |||
radius, | |||
tractOverlap, | |||
wcs | |||
) |
Definition at line 343 of file tractInfo.py.
|
inherited |
Definition at line 323 of file tractInfo.py.
|
inherited |
Definition at line 313 of file tractInfo.py.
|
inherited |
Definition at line 319 of file tractInfo.py.
|
inherited |
Definition at line 310 of file tractInfo.py.
|
inherited |
Definition at line 307 of file tractInfo.py.
|
inherited |
Does this tract contain the coordinate?
Definition at line 326 of file tractInfo.py.
|
inherited |
Find the patch containing the specified coord @param[in] coord: ICRS sky coordinate (lsst.afw.geom.SpherePoint) @return PatchInfo of patch whose inner bbox contains the specified coord @raise LookupError if coord is not in tract or we cannot determine the pixel coordinate (which likely means the coord is off the tract). @note This routine will be more efficient if coord is ICRS.
Definition at line 157 of file tractInfo.py.
|
inherited |
Find patches containing the specified list of coords @param[in] coordList: list of sky coordinates (lsst.afw.geom.SpherePoint) @return list of PatchInfo for patches that contain, or may contain, the specified region. The list will be empty if there is no overlap. @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 179 of file tractInfo.py.
|
inherited |
Get bounding box of tract (as an afwGeom.Box2I)
Definition at line 211 of file tractInfo.py.
|
inherited |
Get ICRS sky coordinate of center of tract (as an lsst.afw.geom.SpherePoint)
Definition at line 216 of file tractInfo.py.
|
inherited |
Get ID of tract
Definition at line 221 of file tractInfo.py.
|
inherited |
Get inner on-sky region as a sphgeom.ConvexPolygon.
Definition at line 289 of file tractInfo.py.
|
inherited |
Get the number of patches in x, y @return the number of patches in x, y
Definition at line 226 of file tractInfo.py.
|
inherited |
Get outer on-sky region as a sphgeom.ConvexPolygon
Definition at line 295 of file tractInfo.py.
|
inherited |
Get batch border @return patch border (pixels)
Definition at line 233 of file tractInfo.py.
|
inherited |
Return information for the specified patch @param[in] index: index of patch, as a pair of ints; negative values are not supported @return patch info, an instance of PatchInfo @raise IndexError if index is out of range
Definition at line 240 of file tractInfo.py.
|
inherited |
Get dimensions of inner region of the patches (all are the same) @return dimensions of inner region of the patches (as an afwGeom Extent2I)
Definition at line 268 of file tractInfo.py.
|
inherited |
Return a single integer that uniquely identifies the given patch within this tract.
Definition at line 149 of file tractInfo.py.
|
inherited |
Get minimum overlap of adjacent sky tracts @return minimum overlap between adjacent sky tracts, as an afwGeom Angle
Definition at line 275 of file tractInfo.py.
|
inherited |
Get list of sky coordinates of vertices that define the boundary of the inner region @warning: this is not a deep copy
Definition at line 282 of file tractInfo.py.
|
inherited |
Get WCS of tract @warning: this is not a deep copy
Definition at line 300 of file tractInfo.py.