|
lsst.skymap gb9c20d2722+4386e1d82d
|
Public Member Functions | |
| __init__ (self, config=None) | |
| __getstate__ (self) | |
| __setstate__ (self, stateDict) | |
| findTract (self, coord) | |
| getVersion (self) | |
| getWithTractsOnPoles (self) | |
| updateSha1 (self, sha1) | |
| Public Member Functions inherited from lsst.skymap.baseSkyMap.BaseSkyMap | |
| __init__ (self, config=None) | |
| findTractIdArray (self, ra, dec, degrees=False) | |
| findTractPatchList (self, coordList) | |
| findClosestTractPatchList (self, coordList) | |
| findTractIdPatchIdArray (self, ra, dec, degrees=False) | |
| __getitem__ (self, ind) | |
| __iter__ (self) | |
| __len__ (self) | |
| __hash__ (self) | |
| __eq__ (self, other) | |
| __ne__ (self, other) | |
| logSkyMapInfo (self, log) | |
| getSha1 (self) | |
| register (self, name, butler) | |
Protected Attributes | |
| _dodecahedron = detail.Dodecahedron(withFacesOnPoles=self.config.withTractsOnPoles) | |
| Protected Attributes inherited from lsst.skymap.baseSkyMap.BaseSkyMap | |
| list | _tractInfoList = [] |
| _wcsFactory | |
| _sha1 = None | |
| _tractBuilder = config.tractBuilder.apply() | |
Static Protected Attributes | |
| tuple | _version = (1, 0) |
Additional Inherited Members | |
| Public Attributes inherited from lsst.skymap.baseSkyMap.BaseSkyMap | |
| config = config | |
| Static Public Attributes inherited from lsst.skymap.baseSkyMap.BaseSkyMap | |
| ConfigClass = BaseSkyMapConfig | |
| str | SKYMAP_RUN_COLLECTION_NAME = "skymaps" |
| str | SKYMAP_DATASET_TYPE_NAME = "skyMap" |
Dodecahedron-based sky map pixelization.
DodecaSkyMap divides the sky into 12 overlapping Tracts arranged as the
faces of a dodecahedron.
Parameters
----------
config : `lsst.skymap.BaseSkyMapConfig` (optional)
The configuration for this SkyMap; if None use the default config.
| lsst.skymap.dodecaSkyMap.DodecaSkyMap.__getstate__ | ( | self | ) |
Support pickle.
Returns
-------
result : `dict`
A dict containing:
- version: a pair of ints
- config: the config
| lsst.skymap.dodecaSkyMap.DodecaSkyMap.__setstate__ | ( | self, | |
| stateDict ) |
Support unpickle
Parameters
----------
stateDict : `dict`
- version: a pair of ints
- config: the config
| lsst.skymap.dodecaSkyMap.DodecaSkyMap.findTract | ( | self, | |
| coord ) |
Find the tract whose inner region includes the coord.
Parameters
----------
coord : `lsst.geom.SpherePoint`
ICRS sky coordinate to search for.
Returns
-------
tractInfo : `TractInfo`
Info for tract whose inner region includes the coord.
Reimplemented from lsst.skymap.baseSkyMap.BaseSkyMap.
| lsst.skymap.dodecaSkyMap.DodecaSkyMap.getVersion | ( | self | ) |
Return version (e.g. for pickle).
Returns
-------
version : `tuple` of `int`
Version as a pair of integers.
| lsst.skymap.dodecaSkyMap.DodecaSkyMap.getWithTractsOnPoles | ( | self | ) |
Return True if there are tracts centered on the poles.
| lsst.skymap.dodecaSkyMap.DodecaSkyMap.updateSha1 | ( | self, | |
| sha1 ) |
Add subclass-specific state or configuration options to the SHA1.
Reimplemented from lsst.skymap.baseSkyMap.BaseSkyMap.