ring2nest | R Documentation |
ring2nest
converts HEALPix pixel indices in the 'ring' ordering scheme
to HEALPix pixel indices in the 'nested' ordering scheme.
ring2nest(nside, pix)
nside |
is the HEALPix nside parameter (integer number 2^k) |
pix |
is a vector of HEALPix pixel indices, in the 'ring' ordering scheme. |
the output is a vector of HEALPix pixel indices in the 'nested' ordering scheme.
## Convert (1,2,23) from ring to nest at nside = 8 nside <- 8 pix <-c(1,2,23) ring2nest(nside,pix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.