nside2npix


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


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


FORMAT

var=nside2npix( nside )


ARGUMENTS

name&dimensionality kind in/out description
       
nside I4B IN the Nside parameter of the map.
var I4B OUT the number of pixels Npix of the map. If Nside is valid (a power of 2 in {1,..., 8192}), Npix = 12Nside2 is returned; if not, an error message is issued and -1 is returned.


EXAMPLE:

npix= nside2npix(256)

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

RELATED ROUTINES

This section lists the routines related to nside2npix


npix2nside
returns resolution parameter corresponding to the number of pixels.

Eric Hivon 2003-02-07