yorick banner

Home

Manual

Packages

Global Index

Keywords

Quick Reference

functions in healpix_io.i - a

 
 
 
alm_lmax


             alm_lmax(filename)  
 
     Get value of LMAX in A(l,m) file FILENAME (can be used to assert  
     validity of file).  
       
interpreted function, defined at contrib/healpix_io.i   line 12  
SEE ALSO: alm_read,   alm_write  
 
 
 
alm_pack


             alm_pack(a)  
 
       -or- alm_pack(a, lmax)  
     Returns packed A(l,m) data from array  A.  Input array A can be a real  
     2×(LMAX+1)×(LMAX+1) array or a complex (LMAX+1)×(LMAX+1) array or only  
     the lower  triangular part of A(l,m)  packed as a  complex vector with  
     NUMBER elements or a 2×NUMBER real  array.  If A is real, then A(1,..)  
     and  A(2,..) are  the real  and imaginary  parts of  the  A(l,m).  The  
     result is an array of float's with dimension 2×NUMBER such that:  
       RESULT(1, ) = real part of the A(l,m)  
       RESULT(2, ) = imaginary part of the A(l,m)  
     and with:  
       NUMBER = 1 + LMAX*(LMAX + 3)/2.  
     Optional argument  LMAX is  an output variable  to store the  value of  
     the parameter.  
       
interpreted function, defined at contrib/healpix_io.i   line 86  
SEE ALSO: alm_unpack,   alm_write  
 
 
 
alm_read


             alm_read(filename)  
 
     Read data  in A(l,m)  file FILENAME.  If  keyword UNPACK is  true, the  
     result  is a 2×(LMAX+1)×(LMAX+1)  array ortherwise  the result  is the  
     lower triangular part of A(l,m) packed as a 2×NUMBER array where:  
       NUMBER = 1 + LMAX*(LMAX + 3)/2  
     In any case, the result is such that:  
       RESULT(1,..)  = real part of the A(l,m)  
       RESULT(2,..)  = imaginary part of the A(l,m)  
       
interpreted function, defined at contrib/healpix_io.i   line 27  
SEE ALSO: alm_lmax,   alm_write  
 
 
 
alm_unpack


             alm_unpack(ap)  
 
     Unpack a 2×NUMBER array AP into a 2×(LMAX+1)×(LMAX+1) array  
     where:  
       NUMBER = 1 + LMAX*(LMAX + 3)/2  
     In any case, the result is such that:  
       RESULT(1,..)  = real part of the A(l,m)  
       RESULT(2,..)  = imaginary part of the A(l,m)  
       
interpreted function, defined at contrib/healpix_io.i   line 156  
SEE ALSO: alm_pack,   alm_read  
 
 
 
alm_write


              alm_write, filename, a;  
 
     Write A(l,m) data stored in array A into file FILENAME.  If keyword  
     OVERWRITE is true, FILENAME is overwritten if it already exists.  
     Input array A can be a real 2×(LMAX+1)×(LMAX+1) array or a complex  
     (LMAX+1)×(LMAX+1) array or only the lower triangular part of A(l,m)  
     packed as a complex vector with NUMBER elements or a 2×NUMBER real  
     array.  If A is real, then A(1,..) and A(2,..) are the real and  
     imaginary parts of the A(l,m).  
       
interpreted function, defined at contrib/healpix_io.i   line 53  
SEE ALSO: alm_lmax,   alm_read,   alm_pack