LSSTApplications
19.0.0-14-gb0260a2+72efe9b372,20.0.0+7927753e06,20.0.0+8829bf0056,20.0.0+995114c5d2,20.0.0+b6f4b2abd1,20.0.0+bddc4f4cbe,20.0.0-1-g253301a+8829bf0056,20.0.0-1-g2b7511a+0d71a2d77f,20.0.0-1-g5b95a8c+7461dd0434,20.0.0-12-g321c96ea+23efe4bbff,20.0.0-16-gfab17e72e+fdf35455f6,20.0.0-2-g0070d88+ba3ffc8f0b,20.0.0-2-g4dae9ad+ee58a624b3,20.0.0-2-g61b8584+5d3db074ba,20.0.0-2-gb780d76+d529cf1a41,20.0.0-2-ged6426c+226a441f5f,20.0.0-2-gf072044+8829bf0056,20.0.0-2-gf1f7952+ee58a624b3,20.0.0-20-geae50cf+e37fec0aee,20.0.0-25-g3dcad98+544a109665,20.0.0-25-g5eafb0f+ee58a624b3,20.0.0-27-g64178ef+f1f297b00a,20.0.0-3-g4cc78c6+e0676b0dc8,20.0.0-3-g8f21e14+4fd2c12c9a,20.0.0-3-gbd60e8c+187b78b4b8,20.0.0-3-gbecbe05+48431fa087,20.0.0-38-ge4adf513+a12e1f8e37,20.0.0-4-g97dc21a+544a109665,20.0.0-4-gb4befbc+087873070b,20.0.0-4-gf910f65+5d3db074ba,20.0.0-5-gdfe0fee+199202a608,20.0.0-5-gfbfe500+d529cf1a41,20.0.0-6-g64f541c+d529cf1a41,20.0.0-6-g9a5b7a1+a1cd37312e,20.0.0-68-ga3f3dda+5fca18c6a4,20.0.0-9-g4aef684+e18322736b,w.2020.45
LSSTDataManagementBasePackage
|
Public Member Functions | |
def | __init__ (self, config=None) |
def | __getstate__ (self) |
def | __setstate__ (self, stateDict) |
def | getVersion (self) |
def | updateSha1 (self, sha1) |
def | findTract (self, coord) |
def | findTractPatchList (self, coordList) |
def | findClosestTractPatchList (self, coordList) |
def | __getitem__ (self, ind) |
def | __iter__ (self) |
def | __len__ (self) |
def | __hash__ (self) |
def | __eq__ (self, other) |
def | __ne__ (self, other) |
def | logSkyMapInfo (self, log) |
def | getSha1 (self) |
def | register (self, name, registry) |
Public Attributes | |
config | |
Static Public Attributes | |
ConfigClass | |
Equatorial sky map pixelization, e.g. for SDSS stripe 82 image data. EquatSkyMap represents an equatorial band of sky divided along declination into overlapping tracts. Parameters ---------- config : `lsst.skymap.BaseSkyMapConfig` (optional) The configuration for this SkyMap; if None use the default config.
Definition at line 50 of file equatSkyMap.py.
def lsst.skymap.equatSkyMap.EquatSkyMap.__init__ | ( | self, | |
config = None |
|||
) |
|
inherited |
Definition at line 212 of file baseSkyMap.py.
|
inherited |
Reimplemented in lsst.skymap.cachingSkyMap.CachingSkyMap.
Definition at line 200 of file baseSkyMap.py.
def lsst.skymap.equatSkyMap.EquatSkyMap.__getstate__ | ( | self | ) |
Support pickle. Returns ------- stateDict : `dict` a dict containing: - version: a pair of ints - config: the config
Definition at line 101 of file equatSkyMap.py.
|
inherited |
Definition at line 209 of file baseSkyMap.py.
|
inherited |
Reimplemented in lsst.skymap.cachingSkyMap.CachingSkyMap.
Definition at line 203 of file baseSkyMap.py.
|
inherited |
Reimplemented in lsst.skymap.cachingSkyMap.CachingSkyMap.
Definition at line 206 of file baseSkyMap.py.
|
inherited |
Definition at line 218 of file baseSkyMap.py.
def lsst.skymap.equatSkyMap.EquatSkyMap.__setstate__ | ( | self, | |
stateDict | |||
) |
Support unpickle Parameters ---------- stateDict : `dict` a dict containing: - version: a pair of ints - config: the config
Definition at line 116 of file equatSkyMap.py.
|
inherited |
Find closest tract and patches that overlap coordinates. Parameters ---------- coordList : `lsst.geom.SpherePoint` List of ICRS sky coordinates to search for. Returns ------- retList : `list` list of (TractInfo, list of PatchInfo) for tracts and patches that contain, or may contain, the specified region. The list will be empty if there is no overlap.
Definition at line 177 of file baseSkyMap.py.
|
inherited |
Find the tract whose center is nearest the specified coord. Parameters ---------- coord : `lsst.geom.SpherePoint` ICRS sky coordinate to search for. Returns ------- result : `TractInfo` TractInfo of tract whose center is nearest the specified coord. Notes ----- - If coord is equidistant between multiple sky tract centers then one is arbitrarily chosen. - The default implementation is not very efficient; subclasses may wish to override. **Warning:** If tracts do not cover the whole sky then the returned tract may not include the coord.
Reimplemented in lsst.skymap.ringsSkyMap.RingsSkyMap, lsst.skymap.dodecaSkyMap.DodecaSkyMap, and lsst.skymap.healpixSkyMap.HealpixSkyMap.
Definition at line 116 of file baseSkyMap.py.
|
inherited |
Find tracts and patches that overlap a region. Parameters ---------- coordList : `list` of `lsst.geom.SpherePoint` List of ICRS sky coordinates to search for. Returns ------- reList : `list` of (`TractInfo`, `list` of `PatchInfo`) For tracts and patches that contain, or may contain, the specified region. The list will be empty if there is no overlap. Notes ----- **warning:** This uses a naive algorithm that may find some tracts and patches that do not overlap the region (especially if the region is not a rectangle aligned along patch x, y).
Reimplemented in lsst.skymap.ringsSkyMap.RingsSkyMap.
Definition at line 149 of file baseSkyMap.py.
|
inherited |
Return a SHA1 hash that uniquely identifies this SkyMap instance. Returns ------- sha1 : `bytes` A 20-byte hash that uniquely identifies this SkyMap instance. Notes ----- Subclasses should almost always override ``updateSha1`` instead of this function to add subclass-specific state to the hash.
Definition at line 245 of file baseSkyMap.py.
def lsst.skymap.equatSkyMap.EquatSkyMap.getVersion | ( | self | ) |
Return version (e.g. for pickle). Returns ------- result : `tuple` of `int` Version as a pair of integers.
Definition at line 131 of file equatSkyMap.py.
|
inherited |
Write information about a sky map to supplied log Parameters ---------- log : `lsst.log.Log` Log object that information about skymap will be written
Definition at line 221 of file baseSkyMap.py.
|
inherited |
Add skymap, tract, and patch Dimension entries to the given Gen3 Butler Registry. Parameters ---------- name : `str` The name of the skymap. registry : `lsst.daf.butler.Registry` The registry to add to. Raises ------ lsst.daf.butler.registry.ConflictingDefinitionError Raised if a different skymap exists with the same name. Notes ----- Registering the same skymap multiple times (with the exact same definition) is safe, but inefficient; most of the work of computing the rows to be inserted must be done first in order to check for consistency between the new skymap and any existing one. Re-registering a skymap with different tract and/or patch definitions but the same summary information may not be detected as a conflict but will never result in updating the skymap; there is intentionally no way to modify a registered skymap (aside from manual administrative operations on the database), as it is hard to guarantee that this can be done without affecting reproducibility.
Definition at line 293 of file baseSkyMap.py.
def lsst.skymap.equatSkyMap.EquatSkyMap.updateSha1 | ( | self, | |
sha1 | |||
) |
Add subclass-specific state or configuration options to the SHA1.
Reimplemented from lsst.skymap.baseSkyMap.BaseSkyMap.
Definition at line 141 of file equatSkyMap.py.
|
inherited |
Definition at line 107 of file baseSkyMap.py.
|
static |
Definition at line 61 of file equatSkyMap.py.