1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2
3<!--Converted with LaTeX2HTML 2018.3 (Released July 19, 2018) -->
4<HTML lang="EN">
5<HEAD>
6<TITLE>reorder </TITLE>
7<META NAME="description" CONTENT="reorder ">
8<META NAME="keywords" CONTENT="idl">
9<META NAME="resource-type" CONTENT="document">
10<META NAME="distribution" CONTENT="global">
11
12<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
13<META NAME="viewport" CONTENT="width=device-width, initial-scale=1.0">
14<META NAME="Generator" CONTENT="LaTeX2HTML v2018.3">
15   <link rel='apple-touch-icon' sizes='180x180' href='images/favicons/apple-touch-icon.png?v=2017'>
16   <link rel='icon' type='image/png' sizes='32x32' href='images/favicons/favicon-32x32.png?v=2017'>
17   <link rel='icon' type='image/png' sizes='16x16' href='images/favicons/favicon-16x16.png?v=2017'>
18   <link rel='manifest' href='images/favicons/manifest.json?v=2017'>
19   <link rel='mask-icon' href='images/favicons/safari-pinned-tab.svg?v=2017' color='#5bbad5'>
20   <link rel='shortcut icon' href='images/favicons/favicon.ico?v=2017'>
21   <meta name='apple-mobile-web-app-title' content='HEALPix'>
22   <meta name='application-name' content='HEALPix'>
23   <meta name='msapplication-config' content='images/favicons/browserconfig.xml?v=2017'>
24   <meta name='theme-color' content='#ffffff'>
25
26<LINK REL="STYLESHEET" HREF="idl.css">
27
28<LINK REL="next" HREF="idl_rotate_coord.htm">
29<LINK REL="previous" HREF="idl_remove_dipole.htm">
30<LINK REL="next" HREF="idl_rotate_coord.htm">
31</HEAD>
32
33<body text="#000000" bgcolor="#FFFFFA">
34
35<DIV CLASS="navigation"><!--Navigation Panel-->
36<A
37 HREF="idl_remove_dipole.htm">
38<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A>
39<A
40 HREF="idl_HEALPix_IDL_subroutines.htm">
41<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A>
42<A
43 HREF="idl_rotate_coord.htm">
44<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A>
45<A ID="tex2html405"
46  HREF="idl_TABLE_CONTENTS.htm">
47<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>
48<BR>
49<B> Previous:</B> <A
50 HREF="idl_remove_dipole.htm">remove_dipole</A>
51
52<B>Up:</B> <A
53 HREF="idl_HEALPix_IDL_subroutines.htm">HEALPix/IDL subroutines</A>
54
55<B> Next:</B> <A
56 HREF="idl_rotate_coord.htm">rotate_coord</A>
57<B> Top:</B> <a href="main.htm">Main Page</a></DIV>
58<!--End of Navigation Panel-->
59
60<H1><A ID="SECTION6600"></A>
61<A ID="idl:reorder"></A>
62<BR>
63
64</H1>
65
66<P>
67<b><font size=+6><FONT COLOR="#CC0000">reorder </FONT></font></b><hr>
68<H3>This IDL facility allows the reordering of a full sky map from NESTED to RING
69scheme and vice-versa.</H3>
70Location in HEALPix directory tree: <a href="https://sourceforge.net/p/healpix/code/1005/tree/trunk/src/idl/toolkit/reorder.pro"><b>src/idl/toolkit/reorder.pro</b></a>&nbsp;
71
72<P>
73<hr><h1>FORMAT </h1><h3>IDL>
74<A HREF="#idl:reorder:result">Result</A> = REORDER (<A HREF="#idl:reorder:input_map">Input_map</A> [,
75<A HREF="#idl:reorder:help">/HELP</A>,
76<A HREF="#idl:reorder:in">In</A>=,
77<A HREF="#idl:reorder:out">Out</A>=,
78<A HREF="#idl:reorder:n2r">/N2R</A>,
79<A HREF="#idl:reorder:r2n">/R2N</A>])
80</h3>
81
82<P>
83<hr>
84<H1>QUALIFIERS</H1>
85
86  <DL COMPACT><DT>
87<B>Result</B>
88<DD><A ID="idl:reorder:result"></A>	variable containing on output the reordered map
89
90<P>
91<DT>
92<B>Input_map</B>
93<DD><A ID="idl:reorder:input_map"></A>          variable containing the input map
94
95<P>
96</DL>
97
98<P>
99<hr><H1>KEYWORDS</H1>
100
101  <DL COMPACT><DT>
102<B>/HELP</B>
103<DD><A ID="idl:reorder:help"></A>	if set, the documentation header is printed out and the code exits
104
105<P>
106<DT>
107<B>In=</B>
108<DD><A ID="idl:reorder:in"></A>	specifies the input ordering, can be either 'RING' or 'NESTED'
109
110<P>
111<DT>
112<B>Out=</B>
113<DD><A ID="idl:reorder:out"></A>	specifies the output ordering, can be either 'RING' or 'NESTED'
114
115<P>
116<DT>
117<B>/N2R</B>
118<DD><A ID="idl:reorder:n2r"></A>	  If set, does the NESTED to RING conversion, equivalent to In='NESTED'
119	  and Out='RING'
120
121<P>
122<DT>
123<B>/R2N</B>
124<DD><A ID="idl:reorder:r2n"></A>	  If set, does the RING to NESTED conversion, equivalent to
125In='RING' and Out='NESTED'
126   </DL>
127
128<P>
129<hr>
130<H1>DESCRIPTION</H1>
131<blockquote>
132reorder allows the reordering of a full sky map from NESTED to RING
133scheme and vice-versa
134</blockquote>
135
136<P>
137<hr><H1>RELATED ROUTINES</H1><h3>This section lists the routines related to <b><FONT COLOR="#CC0000">reorder </FONT></b></h3>
138
139  <DL COMPACT><DT>
140<B>idl</B>
141<DD>version 6.4 or more is necessary to run reorder <DT>
142<B><A HREF="idl_ud_grade.htm#idl:ud_grade">ud_grade</A></B>
143<DD>downgrades or progrades a full-sky
144or cut-sky <b>HEALPix</b> map.
145</DL>
146
147<P>
148<HR><H1>EXAMPLE:</H1>
149<tt><TABLE CELLPADDING=3>
150<TR><TD ALIGN="LEFT">map_nest = reorder(map_ring, in='ring', out='nest')</TD>
151</TR>
152</TABLE></tt>
153<blockquote>The RING ordered map <TT>map_ring</TT> is converted to the
154NESTED map <TT>map_nest</TT>.
155</blockquote>
156
157<P>
158
159<P>
160
161<P>
162
163<P>
164
165<DIV CLASS="navigation"><HR>
166<!--Navigation Panel-->
167<A
168 HREF="idl_remove_dipole.htm">
169<IMG WIDTH="63" HEIGHT="24" ALT="previous" SRC="prev.png"></A>
170<A
171 HREF="idl_HEALPix_IDL_subroutines.htm">
172<IMG WIDTH="26" HEIGHT="24" ALT="up" SRC="up.png"></A>
173<A
174 HREF="idl_rotate_coord.htm">
175<IMG WIDTH="37" HEIGHT="24" ALT="next" SRC="next.png"></A>
176<A ID="tex2html405"
177  HREF="idl_TABLE_CONTENTS.htm">
178<IMG WIDTH="65" HEIGHT="24" ALT="contents" SRC="contents.png"></A>
179<BR>
180<B> Previous:</B> <A
181 HREF="idl_remove_dipole.htm">remove_dipole</A>
182
183<B>Up:</B> <A
184 HREF="idl_HEALPix_IDL_subroutines.htm">HEALPix/IDL subroutines</A>
185
186<B> Next:</B> <A
187 HREF="idl_rotate_coord.htm">rotate_coord</A>
188<B> Top:</B> <a href="main.htm">Main Page</a></DIV>
189<!--End of Navigation Panel-->
190<ADDRESS>
191Version 3.50, 2018-12-10
192</ADDRESS>
193</BODY>
194</HTML>
195