healpy.sphtfunc.almxfl

healpy.sphtfunc.almxfl(alm, fl, mmax=None, inplace=False)

Multiply alm by a function of l. The function is assumed to be zero where not defined.

Parameters:

alm : array

The alm to multiply

fl : array

The function (at l=0..fl.size-1) by which alm must be multiplied.

mmax : None or int, optional

The maximum m defining the alm layout. Default: lmax.

inplace : bool, optional

If True, modify the given alm, otherwise make a copy before multiplying.

Returns:

alm : array

The modified alm, either a new array or a reference to input alm, if inplace is True.