healpy.sphtfunc.Alm.getlm

static Alm.getlm(lmax, i=None)

Get the l and m from index and lmax.

Parameters
lmaxint

The maximum l defining the alm layout

iint or None

The index for which to compute the l and m. If None, the function return l and m for i=0..Alm.getsize(lmax)