DiscreteSkyMap#

class lsst.skymap.DiscreteSkyMap(config, version=0)#

Bases: CachingSkyMap

Discrete sky map pixelization.

We put a square Tract at each of the nominated coordinates.

Parameters#

configlsst.skyMap.BaseSkyMapConfig

The configuration for this SkyMap; if None use the default config.

versionint or tuple of int (optional)

Software version of this class, to retain compatibility with old instances.

Methods Summary

generateTract(index)

Generate TractInfo for the specified tract index.

updateSha1(sha1)

Add subclass-specific state or configuration options to the SHA1.

Methods Documentation

generateTract(index)#

Generate TractInfo for the specified tract index.

updateSha1(sha1)#

Add subclass-specific state or configuration options to the SHA1.