lsst.skymap gb9c20d2722+4386e1d82d
Loading...
Searching...
No Matches
lsst.skymap.healpixSkyMap.HealpixSkyMap Class Reference
Inheritance diagram for lsst.skymap.healpixSkyMap.HealpixSkyMap:
lsst.skymap.cachingSkyMap.CachingSkyMap lsst.skymap.baseSkyMap.BaseSkyMap

Public Member Functions

 __init__ (self, config, version=0)
 findTract (self, coord)
 generateTract (self, index)
 updateSha1 (self, sha1)
Public Member Functions inherited from lsst.skymap.cachingSkyMap.CachingSkyMap
 __init__ (self, numTracts, config=None, version=0)
 __reduce__ (self)
 __iter__ (self)
 __len__ (self)
 __getitem__ (self, index)
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)

Static Public Attributes

int numAngles = 4
Static Public Attributes inherited from lsst.skymap.baseSkyMap.BaseSkyMap
 ConfigClass = BaseSkyMapConfig
str SKYMAP_RUN_COLLECTION_NAME = "skymaps"
str SKYMAP_DATASET_TYPE_NAME = "skyMap"

Protected Attributes

int _nside = 1 << config.log2NSide
Protected Attributes inherited from lsst.skymap.cachingSkyMap.CachingSkyMap
 _numTracts = numTracts
list _tractCache = [None] * self._numTracts
 _tractInfo = None
 _version = version
Protected Attributes inherited from lsst.skymap.baseSkyMap.BaseSkyMap
list _tractInfoList = []
 _wcsFactory
 _sha1 = None
 _tractBuilder = config.tractBuilder.apply()

Additional Inherited Members

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

Detailed Description

HEALPix-based sky map pixelization.

We put a Tract at the position of each HEALPixel.


Parameters
----------
config : `lsst.skymap.BaseSkyMapConfig`
    The configuration for this SkyMap.
version : `int` or `tuple` of `int` (optional)
    Software version of this class, to retain compatibility with old
    instances.

Member Function Documentation

◆ findTract()

lsst.skymap.healpixSkyMap.HealpixSkyMap.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.

◆ generateTract()

lsst.skymap.healpixSkyMap.HealpixSkyMap.generateTract ( self,
index )
Generate TractInfo for the specified tract index.

Reimplemented from lsst.skymap.cachingSkyMap.CachingSkyMap.

◆ updateSha1()

lsst.skymap.healpixSkyMap.HealpixSkyMap.updateSha1 ( self,
sha1 )
Add subclass-specific state or configuration options to the SHA1.

Reimplemented from lsst.skymap.baseSkyMap.BaseSkyMap.


The documentation for this class was generated from the following file:
  • python/lsst/skymap/healpixSkyMap.py