View previous topic :: View next topic |
Author |
Message |
María Pía Piccirilli
Joined: 17 Sep 2016 Posts: 5 Affiliation: Facultad de Ciencias Astronómicas y Geofísicas - Universidad de La Plata
|
Posted: April 05 2017 |
|
|
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! |
|
Back to top |
|
 |
Antony Lewis
Joined: 23 Sep 2004 Posts: 1332 Affiliation: University of Sussex
|
Posted: April 05 2017 |
|
|
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) |
|
Back to top |
|
 |
María Pía Piccirilli
Joined: 17 Sep 2016 Posts: 5 Affiliation: Facultad de Ciencias Astronómicas y Geofísicas - Universidad de La Plata
|
Posted: April 05 2017 |
|
|
Thank you very much, Antony! It has been very helpful! |
|
Back to top |
|
 |
|