scarf.map2alm_spin¶
- scarf.map2alm_spin(map: numpy.ndarray[numpy.float64], spin: int, lmax: int, mmax: Optional[int] = None, nthreads: int = 1, zbounds: Optional[numpy.ndarray[numpy.float64]] = None) → numpy.ndarray[numpy.complex128]¶
Computes alms from a temperature map.
- Parameters
map (np.array, shape (\(N_{pix}\),)) – The temperature map
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 alm
- Return type
np.array, shape (\(N_{alm}\))