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.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.

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]

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.

Parameters
  • startype (str ('allstars', 'wdstars')) – Load the luminosity function for all stars (‘allstars’), which includes main-sequence stars white dwarfs, blue horozontal branch, RR Lyrae, and Cepheids. The ‘wdstars’ option only includes white dwarf stars.

  • filtername (str) – Filter to use. Options of u,g,r,i,z,y

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.trilegalMap module

class lsst.sims.maf.maps.trilegalMap.TrilegalDensityMap(filtername='r', nside=64, ext=False)[source]

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

Return the cumulative stellar luminosity function for each slicepoint. Units of stars per sq degree.

Parameters
  • filtername (str) – Filter to use. Options of u,g,r,i,z,y

  • nside (int (64)) – The HEALpix nside (can be 64 or 128)

  • ext (bool (False)) – Use the full sky maps

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