Using the theta, tau parametrization of CosmoMC, is there an easy way to compute
the corresponding Hubble parameter, given a complete set of the other cosmological
parameters? Before writing my own code to do this, I want to be sure it's not already
buried somewhere in the CosmoMC source code.
CosmoMC: computing H from theta

 Posts: 1553
 Joined: September 23 2004
 Affiliation: University of Sussex
 Contact:
Re: CosmoMC: computing H from theta
The code for this is in params_CMB.f90 (it does a binary search to find the right value, so not totally trivial).
Note that if you run chains the program automatically outputs H as a derived parameter in the chain files, so there's not usually any need to convert manually.
Note that if you run chains the program automatically outputs H as a derived parameter in the chain files, so there's not usually any need to convert manually.
CosmoMC: computing H from theta
Thanks Antony. At the moment I am only running chains of length 1, or else
searching for the maximum likelihood point, while I gear up to do MPI runs,
so H has not been output automatically. Now I've fixed that.
searching for the maximum likelihood point, while I gear up to do MPI runs,
so H has not been output automatically. Now I've fixed that.