Storing sampled parameters on the go in COBAYA

Use of Cobaya. camb, CLASS, cosmomc, compilers, etc.
Post Reply
Bhaskar Arya
Posts: 1
Joined: May 20 2019
Affiliation: IUCAA

Storing sampled parameters on the go in COBAYA

Post by Bhaskar Arya » April 03 2022

Hi,

I am running an MCMC chain which runs for two days. I want to store the sampled parameters and corresponding chi2 value after every step to a text file. How can I do that ? I'm new to COBAYA and looked at the documentation but couldn't figure it out.

Thanks,
Bhaskar

Antony Lewis
Posts: 1936
Joined: September 23 2004
Affiliation: University of Sussex
Contact:

Re: Storing sampled parameters on the go in COBAYA

Post by Antony Lewis » April 04 2022

The output files should have that information written out as the chain is running. You can change output frequency etc via yaml parameters, see

https://cobaya.readthedocs.io/en/latest/sampler_mcmc.html#options-and-defaults

Post Reply