|
def | __init__ (self, nSide, ident, nest, patchInnerDimensions, patchBorder, ctrCoord, tractOverlap, wcs) |
|
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 | getWcs (self) |
|
def | __str__ (self) |
|
def | __repr__ (self) |
|
def | __iter__ (self) |
|
def | __len__ (self) |
|
def | __getitem__ (self, index) |
|
def | contains (self, coord) |
|
Tract for the HealpixSkyMap
Definition at line 68 of file healpixSkyMap.py.
◆ __init__()
def lsst.skymap.healpixSkyMap.HealpixTractInfo.__init__ |
( |
|
self, |
|
|
|
nSide, |
|
|
|
ident, |
|
|
|
nest, |
|
|
|
patchInnerDimensions, |
|
|
|
patchBorder, |
|
|
|
ctrCoord, |
|
|
|
tractOverlap, |
|
|
|
wcs |
|
) |
| |
◆ __getitem__()
def lsst.skymap.tractInfo.TractInfo.__getitem__ |
( |
|
self, |
|
|
|
index |
|
) |
| |
|
inherited |
◆ __iter__()
def lsst.skymap.tractInfo.TractInfo.__iter__ |
( |
|
self | ) |
|
|
inherited |
◆ __len__()
def lsst.skymap.tractInfo.TractInfo.__len__ |
( |
|
self | ) |
|
|
inherited |
◆ __repr__()
def lsst.skymap.tractInfo.TractInfo.__repr__ |
( |
|
self | ) |
|
|
inherited |
◆ __str__()
def lsst.skymap.tractInfo.TractInfo.__str__ |
( |
|
self | ) |
|
|
inherited |
◆ contains()
def lsst.skymap.tractInfo.TractInfo.contains |
( |
|
self, |
|
|
|
coord |
|
) |
| |
|
inherited |
Does this tract contain the coordinate?
Definition at line 312 of file tractInfo.py.
◆ findPatch()
def lsst.skymap.tractInfo.TractInfo.findPatch |
( |
|
self, |
|
|
|
coord |
|
) |
| |
|
inherited |
Find the patch containing the specified coord
@param[in] coord: sky coordinate (afwCoord.Coord)
@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 152 of file tractInfo.py.
◆ findPatchList()
def lsst.skymap.tractInfo.TractInfo.findPatchList |
( |
|
self, |
|
|
|
coordList |
|
) |
| |
|
inherited |
Find patches containing the specified list of coords
@param[in] coordList: list of sky coordinates (afwCoord.Coord)
@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 175 of file tractInfo.py.
◆ getBBox()
def lsst.skymap.tractInfo.TractInfo.getBBox |
( |
|
self | ) |
|
|
inherited |
Get bounding box of tract (as an afwGeom.Box2I)
Definition at line 208 of file tractInfo.py.
◆ getCtrCoord()
def lsst.skymap.tractInfo.TractInfo.getCtrCoord |
( |
|
self | ) |
|
|
inherited |
Get sky coordinate of center of tract (as an afwCoord.Coord)
Definition at line 213 of file tractInfo.py.
◆ getId()
def lsst.skymap.tractInfo.TractInfo.getId |
( |
|
self | ) |
|
|
inherited |
◆ getNumPatches()
def lsst.skymap.tractInfo.TractInfo.getNumPatches |
( |
|
self | ) |
|
|
inherited |
Get the number of patches in x, y
@return the number of patches in x, y
Definition at line 223 of file tractInfo.py.
◆ getPatchBorder()
def lsst.skymap.tractInfo.TractInfo.getPatchBorder |
( |
|
self | ) |
|
|
inherited |
Get batch border
@return patch border (pixels)
Definition at line 230 of file tractInfo.py.
◆ getPatchInfo()
def lsst.skymap.tractInfo.TractInfo.getPatchInfo |
( |
|
self, |
|
|
|
index |
|
) |
| |
|
inherited |
Return information for the specified patch
@param[in] index: index of patch, as a pair of ints
@return patch info, an instance of PatchInfo
@raise IndexError if index is out of range
Definition at line 237 of file tractInfo.py.
◆ getPatchInnerDimensions()
def lsst.skymap.tractInfo.TractInfo.getPatchInnerDimensions |
( |
|
self | ) |
|
|
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 264 of file tractInfo.py.
◆ getTractOverlap()
def lsst.skymap.tractInfo.TractInfo.getTractOverlap |
( |
|
self | ) |
|
|
inherited |
Get minimum overlap of adjacent sky tracts
@return minimum overlap between adjacent sky tracts, as an afwGeom Angle
Definition at line 271 of file tractInfo.py.
◆ getVertexList()
def lsst.skymap.tractInfo.TractInfo.getVertexList |
( |
|
self | ) |
|
|
inherited |
Get list of sky coordinates of vertices that define the boundary of the inner region
@warning: this is not a deep copy
@warning vertexCoordList will likely become a geom SphericalConvexPolygon someday.
Definition at line 278 of file tractInfo.py.
◆ getWcs()
def lsst.skymap.tractInfo.TractInfo.getWcs |
( |
|
self | ) |
|
|
inherited |
Get WCS of tract
@warning: this is not a deep copy
Definition at line 286 of file tractInfo.py.
The documentation for this class was generated from the following file: