lsst.skymap  13.0-5-g2a40766+26
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)
 
- Public Member Functions inherited from lsst.skymap.baseSkyMap.BaseSkyMap
def __init__ (self, config=None)
 
def findTract (self, coord)
 
def findTractPatchList (self, coordList)
 
def findClosestTractPatchList (self, coordList)
 
def __getitem__ (self, ind)
 
def __iter__ (self)
 
def __len__ (self)
 

Static Public Attributes

 ConfigClass = DodecaSkyMapConfig
 
- Static Public Attributes inherited from lsst.skymap.baseSkyMap.BaseSkyMap
 ConfigClass = BaseSkyMapConfig
 

Additional Inherited Members

- Public Attributes inherited from lsst.skymap.baseSkyMap.BaseSkyMap
 config
 

Detailed Description

Dodecahedron-based sky map pixelization.

DodecaSkyMap divides the sky into 12 overlapping Tracts arranged as the faces of a dodecahedron.

Definition at line 50 of file dodecaSkyMap.py.

Constructor & Destructor Documentation

◆ __init__()

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

@param[in] config: an instance of self.ConfigClass; if None the default config is used

Definition at line 58 of file dodecaSkyMap.py.

Member Function Documentation

◆ __getstate__()

def lsst.skymap.dodecaSkyMap.DodecaSkyMap.__getstate__ (   self)
Support pickle

@return a dict containing:
- version: a pair of ints
- config: the config

Definition at line 89 of file dodecaSkyMap.py.

◆ __setstate__()

def lsst.skymap.dodecaSkyMap.DodecaSkyMap.__setstate__ (   self,
  stateDict 
)
Support unpickle

@param[in] stateDict: a dict containing:
- version: a pair of ints
- config: the config

Definition at line 101 of file dodecaSkyMap.py.

◆ findTract()

def lsst.skymap.dodecaSkyMap.DodecaSkyMap.findTract (   self,
  coord 
)
Find the tract whose inner region includes the coord.

@param[in] coord: sky coordinate (afwCoord.Coord)
@return TractInfo for tract whose inner region includes the coord.

@note This routine will be more efficient if coord is ICRS.

Definition at line 113 of file dodecaSkyMap.py.

◆ getVersion()

def lsst.skymap.dodecaSkyMap.DodecaSkyMap.getVersion (   self)
Return version (e.g. for pickle)

@return version as a pair of integers

Definition at line 123 of file dodecaSkyMap.py.

◆ getWithTractsOnPoles()

def lsst.skymap.dodecaSkyMap.DodecaSkyMap.getWithTractsOnPoles (   self)
Return withTractsOnPoles parameter

@return withTractsOnPoles as a bool

Definition at line 130 of file dodecaSkyMap.py.

Member Data Documentation

◆ ConfigClass

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

Definition at line 55 of file dodecaSkyMap.py.


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