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 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 42 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 69 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 147 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 168 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 194 of file alm_powspec_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