healpy.sphtfunc.Alm.getlmax#
- static Alm.getlmax(s, mmax=None)#
Returns the lmax corresponding to a given array size.
- Parameters:
- sint
Size of the array
- mmaxNone or int, optional
The maximum m, defines the alm layout. Default: lmax.
- Returns:
- lmaxint
The maximum l of the array, or -1 if it is not a valid size.