Healpix C++  3.83
Functions
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

◆ create_alm()

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

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.

◆ create_alm_pol()

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 
)

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.

◆ extract_powspec() [1/2]

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

Returns the unpolarised power spectrum of alm in powspec.

Definition at line 195 of file alm_powspec_tools.cc.

◆ extract_crosspowspec()

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

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

Definition at line 169 of file alm_powspec_tools.cc.

◆ extract_powspec() [2/2]

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

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

Definition at line 258 of file alm_powspec_tools.cc.


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