read_map(path, nside, unit=None, field=0, map_dist=None)¶
healpy.read_mapfor PySM data. This function also extracts the units from the fits HDU and applies them to the data array to form an
astropy.units.Quantityobject. This function requires that the fits file contains a TUNIT key for each populated field.
pathlib.Path, or str
Path of HEALPix map to be read.
Resolution at which to return map. Map is read in at whatever resolution it is stored, and
Numpy array containing HEALPix map in RING ordering.