healpy.sphtfunc.Alm.getlmax

static Alm.getlmax(s, mmax=None)

Returns the lmax corresponding to a given array size.

Parameters :

s : int

Size of the array

mmax : None or int, optional

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

Returns :

lmax : int

The maximum l of the array, or -1 if it is not a valid size.

Project Versions

Previous topic

healpy.sphtfunc.Alm.getsize

Next topic

healpy.sphtfunc.gauss_beam

This Page