Healpix C++  3.83
Functions
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, bool add_map=false)
 
template<typename T >
void alm2map_adjoint (const Healpix_Map< T > &map, Alm< xcomplex< T > > &alm, bool add_alm=false)
 
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, bool add_map=false)
 
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

◆ map2alm()

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

Converts a Healpix map to a set of a_lms.

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

Definition at line 51 of file alm_healpix_tools.cc.

◆ map2alm_iter()

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

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

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

Definition at line 92 of file alm_healpix_tools.cc.

◆ map2alm_pol()

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 
)

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

Parameters
mapTthe I-Stokes parameter input map
mapQthe Q-Stokes parameter input map
mapUthe U-Stokes parameter input map
Note
All maps must have the same nside, and must be in RING scheme.
Parameters
almTthe output temperature a_lms
almGthe output gradient a_lms
almCthe output curl a_lms
Note
all a_lm sets must have the the same lmax and mmax.
Parameters
weightring weights for the maps.
add_almIf 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 244 of file alm_healpix_tools.cc.

◆ map2alm_pol_iter()

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 
)

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
mapTthe I-Stokes parameter input map
mapQthe Q-Stokes parameter input map
mapUthe U-Stokes parameter input map
Note
All maps must have the same nside, and must be in RING scheme.
Parameters
almTthe output temperature a_lms
almGthe output gradient a_lms
almCthe output curl a_lms
Note
all a_lm sets must have the the same lmax and mmax.
Parameters
num_iterthe number of iterations (0 is identical to map2alm_pol()).
weightring weights for the maps.
Note
The weight array must have at least 2*mapT.Nside() entries.

Definition at line 335 of file alm_healpix_tools.cc.

◆ alm2map()

template<typename T >
void alm2map ( const Alm< xcomplex< T > > &  alm,
Healpix_Map< T > &  map,
bool  add_map = false 
)

Converts a a set of a_lm to a HEALPix map.

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

Definition at line 429 of file alm_healpix_tools.cc.

◆ alm2map_adjoint()

template<typename T >
void alm2map_adjoint ( const Healpix_Map< T > &  map,
Alm< xcomplex< T > > &  alm,
bool  add_alm = false 
)

Adjoint of the alm2map transform.

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

Definition at line 73 of file alm_healpix_tools.cc.

◆ alm2map_pol()

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,
bool  add_map = false 
)

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

Parameters
almTthe input temperature a_lms
almGthe input gradient a_lms
almCthe input curl a_lms
mapTthe I-Stokes parameter output map
mapQthe Q-Stokes parameter output map
mapUthe U-Stokes parameter output map

Definition at line 472 of file alm_healpix_tools.cc.

◆ alm2map_der1()

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

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

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

Definition at line 512 of file alm_healpix_tools.cc.


Generated on Wed Nov 13 2024 12:18:30 for Healpix C++