flatten_healpix_map (function)

flatten_healpix_map(log, mapPath, nside=64)[source]

flatten a multiorder healpix map to a specific nside*

Key Arguments:
  • log – logger

  • mapPath – path to the multiorder map

  • nside – the nside index to flatten the map to. Default 64 (~0.9 deg2 pixels)

Return:
  • skymap – the astropy table of the map

Todo

  • create a sublime snippet for usage

  • add a tutorial about subtract_calibrations to documentation

from gocart.commonutils import flatten_healpix_map
skymap = flatten_healpix_map(
    log=log,
    mapPath=pathToOutputDir + "/bayestar.multiorder.fits",
    nside=64
)