map2alm

pysm3.map2alm(input_map, nside, lmax, map2alm_lsq_maxiter=None)[source] [edit on github]

Compute alm from a map using healpy.

Automatically selects the most appropriate method based on the target lmax

Parameters:
input_mapnp.ndarray

Input HEALPix map

nsideint

Resolution parameter of the input map

lmaxint

Maximum multipole of the alm

map2alm_lsq_maxiterint, optional

Maximum number of iterations for map2alm_lsq, by default 10

Returns:
alm: np.ndarray

alm array