nside2npix


Function to provide the number of pixels Npix over the full sky corresponding to resolution parameter Nside.


Location in HEALPix directory tree: src/C/subs/nside2npix.c


FORMAT

long nside2npix(const long nside)


ARGUMENTS

name&dimensionality kind in/out description
       
nside long IN the Nside parameter of the map.
nside2npix long OUT returns the number of pixels Npix of the map Npix = 12Nside2.


EXAMPLE:

npix= nside2npix(256);

Returns the pixel the number of HEALPix pixels (786432) for the resolution parameter 256.

Eric Hivon 2003-02-07