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
Storing sampled parameters on the go in COBAYA
-
- Posts: 1
- Joined: May 20 2019
- Affiliation: IUCAA
-
- Posts: 1872
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Storing sampled parameters on the go in COBAYA
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
https://cobaya.readthedocs.io/en/latest/sampler_mcmc.html#options-and-defaults