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


nside2ntemplates


Function to provide the number of template pixels

\begin{displaymath}{N_{\rm templates}}=\frac{1+{N_{\rm side}}({N_{\rm side}}+6)}{4}\end{displaymath}

corresponding to resolution parameter ${N_{\rm side}}$. Each template pixel has a different shape that can not be matched (by rotation or reflexion) to that of any of the other templates.


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


FORMAT

var=nside2ntemplates( nside )


ARGUMENTS

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


EXAMPLE:

ntpl= nside2ntemplates(256)

Returns in ntpl the number of HEALPix template pixels (16768) for the resolution parameter 256.

RELATED ROUTINES

This section lists the routines related to nside2ntemplates


template_pixel_ring
template_pixel_nest
return the template pixel associated with any HEALPix pixel
same_shape_pixels_ring
same_shape_pixels_nest
return the ordered list of pixels having the same shape as a given pixel template

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

CL 03-2650