healpy.sphtfunc.pixwin

Contents

healpy.sphtfunc.pixwin#

healpy.sphtfunc.pixwin(nside, pol=False, lmax=None, datapath=None)#

Return the pixel window function for the given nside.

Parameters:
nsideint

The nside for which to return the pixel window function

polbool, optional

If True, return also the polar pixel window. Default: False

lmaxint, optional

Maximum l of the power spectrum (default: 3*nside-1)

datapathNone or str, optional

If given, the directory where to find the pixel window function file. If not found locally, will be downloaded and cached using astropy. See the docstring of map2alm for details on how to set it up

Returns:
pw or pwT,pwParray or tuple of 2 arrays

The temperature pixel window function, or a tuple with both temperature and polarization pixel window functions.