Page 1 of 1

COBAYA+CLASS: Can't print/plot theta

Posted: July 07 2023
by Ali Rida Khalife
Hello,
I did a run in COBAYA, putting a prior on H_0 rather than theta. That part of my yaml file looks like this:

Code: Select all

  100*theta_s:
          #value: 'lambda theta_s_1e2: theta_s_1e2'
    derived: false
    latex: 100\theta_\mathrm{s}
  H0:
   prior:
     dist: norm
     loc: 73.2
     scale: 1.3
   ref:
    dist: norm
    loc: 68
    scale: 1.3
   proposal: 1.3
   latex: H_0
Now I want to include theta in my triangular plots, but I think I did a mistake in setting derived: false, so now the parameter is not even included in the updated input file.
How can I include theta again?
I tried post-processing in several ways but non of them worked.
I'd really appreciate the help,
Thanks!

Re: COBAYA+CLASS: Can't print/plot theta

Posted: September 06 2023
by Jesus Torrado
Dear Ali,

Not trivial in the current version, unfortunately. I have added this feature in a different branch called "class_upd", where you can simply make, as expected:

Code: Select all

post:
  add:
    params:
      theta_s_100:
The branch will be merged soon in a new release, but you can just clone it, check out the branch ("git checkout class_upd") and test this now.

Re: COBAYA+CLASS: Can't print/plot theta

Posted: September 07 2023
by Jesus Torrado
It's in the master branch now.

Re: COBAYA+CLASS: Can't print/plot theta

Posted: September 17 2023
by Ali Rida Khalife
Thank you Jesus!