Previous:
npix2nside
Up:
HEALPix Fortran90 Subroutines Overview
Next:
nside2npweights
Top:
Main Page
nside2npix
Function to provide the number of pixels
over the full sky corresponding to resolution parameter
.
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
parameter of the map.
var
I8B
OUT
the number of pixels
of the map. If
is valid (a power of 2 in
),
is returned; if not, an error message is issued and -1 is returned.
EXAMPLE:
use
healpix_modules
integer(
I8B
) :: npix
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
npix2nside
returns resolution parameter corresponding to the number of pixels.
Previous:
npix2nside
Up:
HEALPix Fortran90 Subroutines Overview
Next:
nside2npweights
Top:
Main Page
Version 3.82, 2022-07-28