camb version variance

Use of Healpix, camb, CLASS, cosmomc, compilers, etc.
Post Reply
Angela Chen
Posts: 13
Joined: January 11 2019
Affiliation: University of Michigan

camb version variance

Post by Angela Chen » July 11 2019

Hi all,

I was writing a wrapper for camb-1.0.3, and in the test comparing to previous wrapper for camb-Jan15, there was a ~5% difference in pk at high k>10^-2 regime. Is this expected as version variance or it's possibly due to some parameter setting difference?

Thanks,
Angela

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

Re: camb version variance

Post by Antony Lewis » July 12 2019

Sounds high, more likely a parameter difference (e.g. different Halofit version).

Angela Chen
Posts: 13
Joined: January 11 2019
Affiliation: University of Michigan

Re: camb version variance

Post by Angela Chen » July 12 2019

Antony Lewis wrote:
July 12 2019
Sounds high, more likely a parameter difference (e.g. different Halofit version).
it was the linear power spectrum difference. Linear power difference transited around k~0.1 from 0 to 5%

Angela Chen
Posts: 13
Joined: January 11 2019
Affiliation: University of Michigan

Re: camb version variance

Post by Angela Chen » July 12 2019

Antony Lewis wrote:
July 12 2019
Sounds high, more likely a parameter difference (e.g. different Halofit version).
One thing I was concerned about is that in the older version of the wrapper, transfer_redshift was set by hand, while in newer version transfer_redshifts are treated as cambdata and calculated by pk_redshifts inputs. could that be the cause of the difference?

Angela Chen
Posts: 13
Joined: January 11 2019
Affiliation: University of Michigan

Re: camb version variance

Post by Angela Chen » July 13 2019

it seems that the difference is correlated to massive neutrino. when setting omnuh2=0 the difference is <0.2%. Could it due to the evolution of camb's treatment for massive nu?

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

Re: camb version variance

Post by Antony Lewis » July 14 2019

Is this a linear effect, or nonlinear? Check settings are the same, and if so please give full reproducing settings.

Post Reply