healpy.sphtfunc.Alm.getidx

static Alm.getidx(lmax, l, m)

Returns index corresponding to (l,m) in an array describing alm up to lmax.

Parameters:

lmax : int

The maximum l, defines the alm layout

l : int

The l for which to get the index

m : int

The m for which to get the index

Returns:

idx : int

The index corresponding to (l,m)