lsst.skymap g790e439155+9e3be64880
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
lsst.skymap.dodecaSkyMap.DodecaSkyMap Class Reference
Inheritance diagram for lsst.skymap.dodecaSkyMap.DodecaSkyMap:
lsst.skymap.baseSkyMap.BaseSkyMap

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
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ __init__()

def lsst.skymap.dodecaSkyMap.DodecaSkyMap.__init__ (   self,
  config = None 
)

Reimplemented from lsst.skymap.baseSkyMap.BaseSkyMap.

Definition at line 68 of file dodecaSkyMap.py.

Member Function Documentation

◆ __getstate__()

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.

◆ __setstate__()

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.

◆ findTract()

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.

◆ getVersion()

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.

◆ getWithTractsOnPoles()

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.

◆ updateSha1()

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.

Member Data Documentation

◆ ConfigClass

lsst.skymap.dodecaSkyMap.DodecaSkyMap.ConfigClass = DodecaSkyMapConfig
static

Definition at line 65 of file dodecaSkyMap.py.


The documentation for this class was generated from the following file: