|
lsst.skymap g6075d09f38+136fbe1e46
|
Public Member Functions | |
| def | __init__ (self, config=None) |
| def | __getstate__ (self) |
| def | __setstate__ (self, stateDict) |
| def | findTract (self, coord) |
| def | getVersion (self) |
| def | getWithTractsOnPoles (self) |
| def | updateSha1 (self, sha1) |
Static Public Attributes | |
| ConfigClass = DodecaSkyMapConfig | |
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.
Definition at line 54 of file dodecaSkyMap.py.
| def lsst.skymap.dodecaSkyMap.DodecaSkyMap.__init__ | ( | self, | |
config = None |
|||
| ) |
Reimplemented from lsst.skymap.baseSkyMap.BaseSkyMap.
Definition at line 68 of file dodecaSkyMap.py.
| def lsst.skymap.dodecaSkyMap.DodecaSkyMap.__getstate__ | ( | self | ) |
Support pickle.
Returns
-------
result : `dict`
A dict containing:
- version: a pair of ints
- config: the config
Definition at line 94 of file dodecaSkyMap.py.
| def lsst.skymap.dodecaSkyMap.DodecaSkyMap.__setstate__ | ( | self, | |
| stateDict | |||
| ) |
Support unpickle
Parameters
----------
stateDict : `dict`
- version: a pair of ints
- config: the config
Definition at line 109 of file dodecaSkyMap.py.
| def 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.
Definition at line 123 of file dodecaSkyMap.py.
| def lsst.skymap.dodecaSkyMap.DodecaSkyMap.getVersion | ( | self | ) |
Return version (e.g. for pickle).
Returns
-------
version : `tuple` of `int`
Version as a pair of integers.
Definition at line 138 of file dodecaSkyMap.py.
| def lsst.skymap.dodecaSkyMap.DodecaSkyMap.getWithTractsOnPoles | ( | self | ) |
Return True if there are tracts centered on the poles.
Definition at line 148 of file dodecaSkyMap.py.
| def lsst.skymap.dodecaSkyMap.DodecaSkyMap.updateSha1 | ( | self, | |
| sha1 | |||
| ) |
Add subclass-specific state or configuration options to the SHA1.
Reimplemented from lsst.skymap.baseSkyMap.BaseSkyMap.
Definition at line 153 of file dodecaSkyMap.py.
|
static |
Definition at line 65 of file dodecaSkyMap.py.