class healpy.sphtfunc.Alm

This class provides some static methods for alm index computation.


getlm(lmax[, i])

Get the l and m from index and lmax.

getidx(lmax, l, m)

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

getsize(lmax[, mmax])

Returns the size of the array needed to store alm up to lmax and mmax

getlmax(s[, mmax])

Returns the lmax corresponding to a given array size.