Page 1 of 1

Storing sampled parameters on the go in COBAYA

Posted: April 03 2022
by Bhaskar Arya
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

Re: Storing sampled parameters on the go in COBAYA

Posted: April 04 2022
by Antony Lewis
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