Previous:
nest2uniq
Up:
HEALPix/F90 subroutines
Next:
nside2npix
Top:
Main Page
npix2nside
Function to provide the resolution parameter
N
side
correspoonding to
N
pix
pixels over the full sky.
Location in HEALPix directory tree:
src/f90/mod/pix_tools.F90
FORMAT
var=
npix2nside
(
npix
)
ARGUMENTS
name & dimensionality
kind
in/out
description
npix
I4B/ I8B
IN
the number
N
pix
of pixels over the whole sky.
var
I4B
OUT
the parameter
N
side
. If
N
pix
is valid (12 times a power of 2 in
),
is returned; if not, an error message is issued and -1 is returned.
EXAMPLE:
use
healpix_modules
integer(
I4B
) :: nside
nside= npix2nside(786432)
Returns the resolution parameter
N
side
(256) corresponding to 786432 pixels on the sky.
RELATED ROUTINES
This section lists the routines related to
npix2nside
nside2npix
returns the number of pixels
N
pix
correspondinng to resolution parameter
N
side
Previous:
nest2uniq
Up:
HEALPix/F90 subroutines
Next:
nside2npix
Top:
Main Page
Version 3.50, 2018-12-10