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/chealpix.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 number of HEALPix pixels (786432) for the resolution parameter 256.


RELATED ROUTINES

This section lists the routines related to nside2npix

ang2vec
converts $(\theta,\phi) $ spherical coordinates into (x,y,z) cartesian coordinates.
vec2ang
converts (x,y,z) cartesian coordinates into $(\theta,\phi) $ spherical coordinates.
npix2nside
converts Nside into number of full sky pixels Npix.

Version 3.82, 2022-07-28