CAMB counts_lensing

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Sarah Libanore
Posts: 4
Joined: April 19 2021
Affiliation: Università degli studi di Padova

CAMB counts_lensing

Post by Sarah Libanore » April 19 2021

Dear Antony,

I need to modify the lensing contribution to the counts power spectrum in CAMB, i.e. the counts_lensing term defined in the equations.90 module. However, to be sure I am doing things properly, I need to understand how this matches with its theoretical expression in your 1105.5292 paper.

I am referring to the term in eq. 43: L(L+1) / 2 * \int d_eta' [ ( chi - chi' ) / chi chi' ] * (2 - 5s) * W(eta')

As far as I see:
  • (2 - 5s) * W(eta') is defined inside the counts_lensing term in equations.90;
  • L(L+1) / 2 together with the d_eta' integration is performed in the cmbmain.90 module;
but I can not find where the [ ( chi - chi' ) / chi chi' ] term is taken into account.

Can you point me the module and expression where this term comes into play?

Thank you in advance for your help.
Bests,

Sarah

Antony Lewis
Posts: 1936
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: CAMB counts_lensing

Post by Antony Lewis » April 19 2021

The equation in equations.f90 uses "win_lens", which includes all the perturbation-independent (and L-independent) parts. See around lines 1820/2040 of results.f90 for where it's constructed.

Sarah Libanore
Posts: 4
Joined: April 19 2021
Affiliation: Università degli studi di Padova

Re: CAMB counts_lensing

Post by Sarah Libanore » April 20 2021

Great, I will check that module then.
Thank you very much!

Sarah

Post Reply