scarf.alm2map_spin¶
- scarf.alm2map_spin(alm: numpy.ndarray[numpy.complex128], spin: int, 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 polarisation map from alm.
- Parameters
alm (np.array, shape (\(N_{alm}\),)) – The polarisation alm
spin (int, scalar) – The spin of the field.
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}\))