lm2index
This IDL routine provides a means to convert the 
 degree and order
 into the index 
 (in order to be fed to
alm2fits routine for instance)
Location in HEALPix directory tree: src/idl/misc/lm2index.pro
   
FORMAT 
IDL>
LM2INDEX, 
l, 
m, 
index
QUALIFIERS
 
  - 
l
 - Long array containing on INPUT the order 
. 
     - 
m
 - Long array containing on INPUT the degree m. 
    
 - 
index
 - Long array containing on OUTPUT the index 
                 
.
   
 
DESCRIPTION
 
lm2index converts 
 into 
. Note that by
definition 
 (the routine does not check for this).
RELATED ROUTINES
This section lists the routines related to lm2index
 
  - 
idl
 - version 6.4 or more is necessary to run lm2index.
    
 - 
fits2alm
 - reads a FITS file containing
    
 values.
     - 
alm2fits
 - writes 
 values into a FITS file.
     - 
index2lm
 - routine complementary to lm2index:
    converts 
 into 
.
   
EXAMPLE:
 
will return in index the value 
Version 3.83, 2024-11-13