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
almarray

The alm to multiply

flarray

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

mmaxNone or int, optional

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

inplacebool, optional

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

Returns
almarray

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