Skip to content

Conversation

@elikrause
Copy link
Contributor

No description provided.

theory/cosmo3D.c Outdated
@@ -529,11 +530,13 @@ double get_class_s8(struct file_content *fc, int *status){
sprintf(fc->value[position_kmax],"%e",10.);
}
*status = run_class(fc,&ba,&th,&pt,&tr,&pm,&sp,&nl,&le);
double sigma8 = *nl.sigma8;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@elikrause @paulrogozenski,
Just let you know. I find that *nl.sigma8 gives you sigma8(cdm+baryon).
To get sigma8 (total matter), you should do nl.sigma8[nl.index_pk_total]

I have checked this by using python version of class (classy)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In case you want to check yourself, here is an example
params = [
omega_m = 3.548971e-01
sigma_8 = 0.000000e+00
A_s = 2.028418e-09
n_s = 8.710132e-01
w0 = -1.000000e+00
wa = 0.000000e+00
omega_b = 5.310769e-02
omega_nuh2 = 4.166853e-03
h0 = 6.233805e-01
MGSigma = 0.000000e+00
MGmu = 0.000000e+00
]
From classy,
sigm8(total matter) = 0.6804764082044734
sigma8(cdm+b) = 0.692361342914594

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@paulrogozenski would you add this in your next commit?

…ions to use the total matter power spectra. Will look at implementing P_cluster for HOD contributions next
…rino modelling to change neff_standard to 3.044 with corresponding massive neutrino cases.
…rino modelling to change neff_standard to 3.044 with corresponding massive neutrino cases.
…rino modelling to change neff_standard to 3.044 with corresponding massive neutrino cases.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants