healpy.sphtfunc.Alm.getsize

static Alm.getsize(lmax, mmax=None)

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

Parameters
lmaxint

The maximum l, defines the alm layout

mmaxint, optional

The maximum m, defines the alm layout. Default: lmax.

Returns
sizeint

The size of the array needed to store alm up to lmax, mmax.