Conversions between a_lm and power spectra


Functions

template<typename T>
void create_alm (const PowSpec &powspec, Alm< xcomplex< T > > &alm, planck_rng &rng)
template<typename T>
void create_alm_pol (const PowSpec &powspec, Alm< xcomplex< T > > &almT, Alm< xcomplex< T > > &almG, Alm< xcomplex< T > > &almC, planck_rng &rng)
template<typename T>
void extract_powspec (const Alm< xcomplex< T > > &alm, PowSpec &powspec)
template<typename T>
void extract_crosspowspec (const Alm< xcomplex< T > > &alm1, const Alm< xcomplex< T > > &alm2, PowSpec &powspec)
template<typename T>
void extract_powspec (const Alm< xcomplex< T > > &almT, const Alm< xcomplex< T > > &almG, const Alm< xcomplex< T > > &almC, PowSpec &powspec)

Detailed Description


Function Documentation

template<typename T>
void create_alm ( const PowSpec powspec,
Alm< xcomplex< T > > &  alm,
planck_rng rng 
) [inline]

Creates a Gaussian realisation of the input power spectrum powspec, using the random number generator rng, and returns the result in alm.

Definition at line 45 of file alm_powspec_tools.cc.

template<typename T>
void create_alm_pol ( const PowSpec powspec,
Alm< xcomplex< T > > &  almT,
Alm< xcomplex< T > > &  almG,
Alm< xcomplex< T > > &  almC,
planck_rng rng 
) [inline]

Creates a Gaussian realisation of the polarised input power spectrum powspec, using the random number generator rng, and returns the result in almT, almG and almC.

Definition at line 72 of file alm_powspec_tools.cc.

template<typename T>
void extract_powspec ( const Alm< xcomplex< T > > &  alm,
PowSpec powspec 
) [inline]

Returns the unpolarised power spectrum of alm in powspec.

Definition at line 175 of file alm_powspec_tools.cc.

template<typename T>
void extract_crosspowspec ( const Alm< xcomplex< T > > &  alm1,
const Alm< xcomplex< T > > &  alm2,
PowSpec powspec 
) [inline]

Returns the cross power spectrum of alm1 and alm2 in powspec.

Definition at line 150 of file alm_powspec_tools.cc.

template<typename T>
void extract_powspec ( const Alm< xcomplex< T > > &  almT,
const Alm< xcomplex< T > > &  almG,
const Alm< xcomplex< T > > &  almC,
PowSpec powspec 
) [inline]

Returns the polarised power spectrum of almT, almG and almC in powspec.

Definition at line 232 of file alm_powspec_tools.cc.


Generated on Wed Apr 24 11:31:18 2013 for Healpix C++