Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cobaya connector: support more variables #271

Open
heatherprince opened this issue May 15, 2023 · 1 comment
Open

Cobaya connector: support more variables #271

heatherprince opened this issue May 15, 2023 · 1 comment

Comments

@heatherprince
Copy link

Usually in cobaya I can include a bunch of relevant variables in my chain output files even if they aren't being sampled over (e.g. I can get cobaya to save the value of sigma_8 for each step in the chain even if I am sampling As instead). This didn't work with a firecrown likelihood. It would be really helpful to regain this functionality and be able to sample and save a wider range of parameters with cobaya.

@vitenti
Copy link
Collaborator

vitenti commented Aug 28, 2023

@heatherprince In Firecrown one can use DerivedParameters (as in the des_y1_3x2pt example) to include extra information computed during the likelihood computation back in the MCMC chains. Please take a look at cobaya_evaluate.yaml:171 where we inform cobaya to include that parameter in the chains. The same appears in the cosmosis example des_y1_3x2pt.ini:20.

However, the example you gave (sigma8), that is computed by CAMB and can be included in the chains without touching Firecrown (in cobaya you simply include sigma8 in the list of derived parameters).

Is that what you need?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants