NASA - Jet Propulsion Laboratory
    + View the NASA Portal
Search JPL
Jet Propulsion Laboratory Home Earth Solar System Stars & Galaxies Technology
Introduction Background Software Links

Conversions between a_lm and HEALPix maps


Functions

template<typename T>
void map2alm (const Healpix_Map< T > &map, Alm< xcomplex< T > > &alm, const arr< double > &weight, bool add_alm=false)
template<typename T>
void map2alm_iter (const Healpix_Map< T > &map, Alm< xcomplex< T > > &alm, int num_iter, const arr< double > &weight)
template<typename T>
void map2alm_pol (const Healpix_Map< T > &mapT, const Healpix_Map< T > &mapQ, const Healpix_Map< T > &mapU, Alm< xcomplex< T > > &almT, Alm< xcomplex< T > > &almG, Alm< xcomplex< T > > &almC, const arr< double > &weight, bool add_alm=false)
template<typename T>
void map2alm_pol_iter (const Healpix_Map< T > &mapT, const Healpix_Map< T > &mapQ, const Healpix_Map< T > &mapU, Alm< xcomplex< T > > &almT, Alm< xcomplex< T > > &almG, Alm< xcomplex< T > > &almC, int num_iter, const arr< double > &weight)
template<typename T>
void alm2map (const Alm< xcomplex< T > > &alm, Healpix_Map< T > &map)
template<typename T>
void alm2map_pol (const Alm< xcomplex< T > > &almT, const Alm< xcomplex< T > > &almG, const Alm< xcomplex< T > > &almC, Healpix_Map< T > &mapT, Healpix_Map< T > &mapQ, Healpix_Map< T > &mapU)
template<typename T>
void alm2map_der1 (const Alm< xcomplex< T > > &alm, Healpix_Map< T > &map, Healpix_Map< T > &mapdth, Healpix_Map< T > &mapdph)

Detailed Description


Function Documentation

template<typename T>
void map2alm ( const Healpix_Map< T > &  map,
Alm< xcomplex< T > > &  alm,
const arr< double > &  weight,
bool  add_alm = false 
) [inline]

Converts a Healpix map to a set of a_lms.

Parameters:
map the input map, which must have RING ordering
alm the output a_lms. l_max and m_max of the conversion are determined from this object.
weight array containing the weights for the individual rings of the map. It must have at least 2*map.Nside() entries.
add_alm If this is true, then the computed a_lm are added to the values already residing in alm.

Definition at line 75 of file alm_healpix_tools.cc.

template<typename T>
void map2alm_iter ( const Healpix_Map< T > &  map,
Alm< xcomplex< T > > &  alm,
int  num_iter,
const arr< double > &  weight 
) [inline]

Converts a Healpix map to a set of a_lms, using an iterative scheme which is more accurate than plain map2alm().

Parameters:
map the input map, which must have RING ordering.
alm the output a_lms. l_max and m_max of the conversion are determined from this object.
num_iter the number of iterations (0 is identical to map2alm()).
weight array containing the weights for the individual rings of the map. It must have at least 2*map.Nside() entries.

Definition at line 94 of file alm_healpix_tools.cc.

template<typename T>
void map2alm_pol ( const Healpix_Map< T > &  mapT,
const Healpix_Map< T > &  mapQ,
const Healpix_Map< T > &  mapU,
Alm< xcomplex< T > > &  almT,
Alm< xcomplex< T > > &  almG,
Alm< xcomplex< T > > &  almC,
const arr< double > &  weight,
bool  add_alm = false 
) [inline]

Converts Healpix maps containing the I, Q and U Stokes parameters to sets of a_lms.

Parameters:
mapT the I-Stokes parameter input map
mapQ the Q-Stokes parameter input map
mapU the U-Stokes parameter input map
Note:
All maps must have the same nside, and must be in RING scheme.
Parameters:
almT the output temperature a_lms
almG the output gradient a_lms
almC the output curl a_lms
Note:
all a_lm sets must have the the same lmax and mmax.
Parameters:
weight ring weights for the maps.
add_alm If this is true, then the computed a_lm are added to the values already residing in alm.
Note:
The weight array must have at least 2*mapT.Nside() entries.

Definition at line 145 of file alm_healpix_tools.cc.

template<typename T>
void map2alm_pol_iter ( const Healpix_Map< T > &  mapT,
const Healpix_Map< T > &  mapQ,
const Healpix_Map< T > &  mapU,
Alm< xcomplex< T > > &  almT,
Alm< xcomplex< T > > &  almG,
Alm< xcomplex< T > > &  almC,
int  num_iter,
const arr< double > &  weight 
) [inline]

Converts Healpix maps containing the I, Q and U Stokes parameters to sets of a_lms, using an iterative scheme which is more accurate than plain map2alm_pol().

Parameters:
mapT the I-Stokes parameter input map
mapQ the Q-Stokes parameter input map
mapU the U-Stokes parameter input map
Note:
All maps must have the same nside, and must be in RING scheme.
Parameters:
almT the output temperature a_lms
almG the output gradient a_lms
almC the output curl a_lms
Note:
all a_lm sets must have the the same lmax and mmax.
Parameters:
num_iter the number of iterations (0 is identical to map2alm_pol()).
weight ring weights for the maps.
Note:
The weight array must have at least 2*mapT.Nside() entries.

Definition at line 186 of file alm_healpix_tools.cc.

template<typename T>
void alm2map ( const Alm< xcomplex< T > > &  alm,
Healpix_Map< T > &  map 
) [inline]

Converts a a set of a_lm to a HEALPix map.

Parameters:
alm the input a_lms. l_max and m_max of the conversion are determined from this object.
map the output map, which must have RING ordering.

Definition at line 280 of file alm_healpix_tools.cc.

template<typename T>
void alm2map_pol ( const Alm< xcomplex< T > > &  almT,
const Alm< xcomplex< T > > &  almG,
const Alm< xcomplex< T > > &  almC,
Healpix_Map< T > &  mapT,
Healpix_Map< T > &  mapQ,
Healpix_Map< T > &  mapU 
) [inline]

Converts a a set of polarised a_lm to a HEALPix map.

Parameters:
almT the input temperature a_lms
almG the input gradient a_lms
almC the input curl a_lms
mapT the I-Stokes parameter output map
mapQ the Q-Stokes parameter output map
mapU the U-Stokes parameter output map

Definition at line 297 of file alm_healpix_tools.cc.

template<typename T>
void alm2map_der1 ( const Alm< xcomplex< T > > &  alm,
Healpix_Map< T > &  map,
Healpix_Map< T > &  mapdth,
Healpix_Map< T > &  mapdph 
) [inline]

Converts a a set of a_lm to a HEALPix map and its first derivatives.

Parameters:
alm the input a_lms. l_max and m_max of the conversion are determined from this object.
map the output map, which must have RING ordering.
mapdth an output map containing $d (\mbox{map})/d\vartheta$, which must have RING ordering.
mapdph an output map containing $(\sin\vartheta)^{-1}d(\mbox{map})/d\varphi$, which must have RING ordering.

Definition at line 330 of file alm_healpix_tools.cc.


Generated on Fri Jun 18 16:12:30 2010 for Healpix C++
Privacy / Copyright
FIRST GOV Contact: NASA Home Page Site Manager:
Webmaster:

CL 03-2650