I would like to add some derived parameters or perhaps redefine some of the existing ones. Could someone please tell me how I could do this?
Also where is the code for calculating the current derived parameters?
Thanks
CosmoMC: Adding/changing derived parameters
-
- Posts: 13
- Joined: May 11 2006
- Affiliation: Ohio State University
-
- Posts: 22
- Joined: January 02 2005
- Affiliation: SISSA, Italy
CosmoMC: Adding/changing derived parameters
Hi,
In ./source/params_CMB.f90, there is a subroutine :
subroutine WriteParams(P, mult, like)
You can add some derived parameters behind this:
and do some tiny changes correspondingly.
Jun-Qing Xia
In ./source/params_CMB.f90, there is a subroutine :
subroutine WriteParams(P, mult, like)
You can add some derived parameters behind this:
Code: Select all
fmt = trim(numcat('(2E16.7,',num_params))//'E16.7,7E16.7)'
write (outfile_unit,fmt) mult,like, P%P, C%omv,P%Info%Theory%Age, C%omdm+C%omb, &
P%Info%Theory%Sigma_8, C%zre,r10,C%H0
Jun-Qing Xia
-
- Posts: 13
- Joined: May 11 2006
- Affiliation: Ohio State University
CosmoMC: Adding/changing derived parameters
Sorry if I was unclear in my question.
I was aware of the writeparams subroutine.
Also, is there a way to do this in getdist? without having to recompute the chains?
I was aware of the writeparams subroutine.
Also, is there a way to do this in getdist? without having to recompute the chains?