Previous:
get_fits_size
Up:
HEALPix/C subroutines
Next:
nside2npix
Top:
Main Page
npix2nside
Function to provide the resolution parameter
corresponding to the number of pixels
over the full sky.
Location in HEALPix directory tree:
src/C/subs/chealpix.c
FORMAT
long npix2nside(const long npix)
ARGUMENTS
name&dimensionality
kind
in/out
description
npix
long
IN
the number of pixels
of the map .
npix2nside
long
OUT
returns the
parameter of the map such that
.
EXAMPLE:
nside= npix2nside(786432);
Returns the resolution parameter (256) corresponding to 786432
HEALPix
pixels.
RELATED ROUTINES
This section lists the routines related to
npix2nside
ang2vec
converts
spherical coordinates into
(
x
,
y
,
z
)
cartesian coordinates.
vec2ang
converts
(
x
,
y
,
z
)
cartesian coordinates into
spherical coordinates.
nside2npix
converts number of full sky pixels
into resolution parameter
Previous:
get_fits_size
Up:
HEALPix/C subroutines
Next:
nside2npix
Top:
Main Page
Version 3.30, 2015-10-08