reorder

This IDL facility allows the reordering of a full sky map from NESTED to RING scheme and vice-versa.

Location in HEALPix directory tree: src/idl/toolkit/reorder.pro 


FORMAT

IDL> Result = REORDER (Input_map [, /HELP, In=, Out=, /N2R, /R2N])


QUALIFIERS

Result
variable containing on output the reordered map

Input_map
variable containing the input map


KEYWORDS

/HELP
if set, the documentation header is printed out and the code exits

In=
specifies the input ordering, can be either 'RING' or 'NESTED'

Out=
specifies the output ordering, can be either 'RING' or 'NESTED'

/N2R
If set, does the NESTED to RING conversion, equivalent to In='NESTED' and Out='RING'

/R2N
If set, does the RING to NESTED conversion, equivalent to In='RING' and Out='NESTED'


DESCRIPTION

reorder allows the reordering of a full sky map from NESTED to RING scheme and vice-versa


RELATED ROUTINES

This section lists the routines related to reorder

idl
version 6.4 or more is necessary to run reorder
ud_grade
downgrades or progrades a full-sky or cut-sky HEALPix map.


EXAMPLE:

map_nest = reorder(map_ring, in='ring', out='nest')
The RING ordered map map_ring is converted to the NESTED map map_nest.

Version 3.82, 2022-07-28