nside2npweights

Function to return the number of pixel-based weights (in compact form) for a given Nside:

$\displaystyle N_w=\frac{(N_{\mathrm{side}}+1)(3N_{\mathrm{side}}+1)}{4} \simeq \frac{N_{\mathrm{pix}}}{16}$

Location in HEALPix directory tree: src/f90/mod/pix_tools.F90 


FORMAT

var=nside2npweights( nside )


ARGUMENTS

name & dimensionality kind in/out description
       
nside I4B IN the $N_{\mathrm{side}}$ parameter.
var I8B OUT the number of template pixels $N_w$.


EXAMPLE:

use healpix_modules
integer(I8B) :: nw8
nw8 = nside2npweights(256)
Returns in nw8 the number of non-redundant HEALPix pixel-based weights (49408) for the resolution parameter 256.

RELATED ROUTINES

This section lists the routines related to nside2npweights

unfold_weightsfile
reads of FITS file containing a list ring-based or pixel-based weights into a full sky map

Version 3.83, 2024-11-13