lsst.sims.maf.maps package

Submodules

lsst.sims.maf.maps.EBVhp module

lsst.sims.maf.maps.EBVhp.EBVhp(nside, ra=None, dec=None, pixels=None, interp=False)[source]

Read in a healpix dust map and return values for given RA, Dec values

nside: Healpixel resolution (2^x) ra: RA (can take numpy array) dec: Dec (can take numpy array) pixles: Healpixel IDs interp: Should returned values be interpolated (True) or just nearest neighbor(False)

lsst.sims.maf.maps.baseMap module

class lsst.sims.maf.maps.baseMap.MapsRegistry(name, bases, dict)[source]

Bases: type

Meta class for Maps, to build a registry of maps classes.

getClass(mapsname)[source]
help(doc=False)[source]
class lsst.sims.maf.maps.baseMap.BaseMap(**kwargs)[source]

Bases: object

registry
run(slicePoints)[source]
Given slicePoints (dict containing metadata about each slicePoint, including ra/dec),
adds additional metadata at each slicepoint and returns updated dict.

lsst.sims.maf.maps.createGaiaDensityMap module

lsst.sims.maf.maps.dustMap module

class lsst.sims.maf.maps.dustMap.DustMap(interp=False, nside=128)[source]

Bases: lsst.sims.maf.maps.baseMap.BaseMap

Compute the E(B-V) for each point in a given spatial distribution of slicePoints.

run(slicePoints)[source]

Given slicePoints (dict containing metadata about each slicePoint, including ra/dec), adds additional metadata at each slicepoint and returns updated dict.

lsst.sims.maf.maps.galCoordsMap module

class lsst.sims.maf.maps.galCoordsMap.GalCoordsMap[source]

Bases: lsst.sims.maf.maps.baseMap.BaseMap

run(slicePoints)[source]

Given slicePoints (dict containing metadata about each slicePoint, including ra/dec), adds additional metadata at each slicepoint and returns updated dict.

lsst.sims.maf.maps.stellarDensityMap module

class lsst.sims.maf.maps.stellarDensityMap.StellarDensityMap(startype='allstars', filtername='r')[source]

Bases: lsst.sims.maf.maps.baseMap.BaseMap

Return the cumulative stellar luminosity function for each slicepoint. Units of stars per sq degree. Uses a healpix map of nside=64. Uses the nearest healpix point for other ra,dec values.

run(slicePoints)[source]

Given slicePoints (dict containing metadata about each slicePoint, including ra/dec), adds additional metadata at each slicepoint and returns updated dict.

Module contents