Hi everyone!
I am working with modified camb modules with extra parameters and succeeded in adding them to cosmomc. Now I wish to add some derived params related to this new ones and already existing ones. Do I have make special consideration to add them or is just the same as the others? How does cosmomc distinguish between main and derived parameters?
Thanks a lot!
Adding derived parameters
-
- Posts: 5
- Joined: September 17 2016
- Affiliation: Facultad de Ciencias Astronómicas y GeofÃsicas - Universidad de La Plata
-
- Posts: 1945
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Adding derived parameters
The places to look are
TP_Init in CosmologyParameterization.f90 (to read in the derived parameter names; or just edit one of the existing .paramnames files)
TP_CalcDerivedParams in CosmologyParameterization (to set derived parameters)
or
CAMBCalc_SetDerived in Calculator_CAMB.f90 (to set the derived parameters from CAMB as part of the standard derived parameters array)
TP_Init in CosmologyParameterization.f90 (to read in the derived parameter names; or just edit one of the existing .paramnames files)
TP_CalcDerivedParams in CosmologyParameterization (to set derived parameters)
or
CAMBCalc_SetDerived in Calculator_CAMB.f90 (to set the derived parameters from CAMB as part of the standard derived parameters array)
-
- Posts: 5
- Joined: September 17 2016
- Affiliation: Facultad de Ciencias Astronómicas y GeofÃsicas - Universidad de La Plata
Adding derived parameters
Thank you very much, Antony! It has been very helpful!