scarf.alm2map¶
- scarf.alm2map(alm: numpy.ndarray[numpy.complex128], nside: int, lmax: int, mmax: Optional[int] = None, nthreads: int = 1, zbounds: Optional[numpy.ndarray[numpy.float64]] = None) → numpy.ndarray[numpy.float64]¶
Computes a Healpix temperature map from alm.
- Parameters
alm (np.array, shape (\(N_{alm}\),)) – The temperature alm.
nside (int, scalar) – The number of sides for the output map. This is the number of pixels along the diagonal of a healpix-grid-base-pixel.
lmax (int, scalar) – The maximum angular momentum quantum number (multipole) of the powerspectrum.
mmax (int, scalar) – The maximum magnetic quantum number of the powerspectrum.
nthreads (int, scalar) – The number of threads for the computation.
zbounds (List, shape (2), zbounds \(\in \{[-1,1]\}^2\)) – The latitudinal bounds. Only rings within zbounds will be calculated.
- Returns
Temperature map
- Return type
np.array, shape (\(N_{pix}\))