NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links


nside2npix


Function to provide the number of pixels ${N_{\rm pix}}$ over the full sky corresponding to resolution parameter ${N_{\rm side}}$.


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 ${N_{\rm pix}}=12{N_{\rm side}}^2$.


EXAMPLE:

npix= nside2npix(256);

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

Eric Hivon 2010-06-18
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650