### Cobaya: Adding new parameters

Posted:

**March 04 2021**Hi there,

I am currently working on a small project in which I have obtained a constraint on the volume-averaged angular diameter distance [math] (with the value of 1496 +20 -23) at an effective redshift [math] using the BOSS dataset.

Now I want to use Cobaya to combine this constraint on [math] with the Planck data to obtain constraints on other cosmological parameters, most importantly the dark energy.

However, I have been having trouble figuring out a way to use this [math] parameter in Cobaya. I have so far installed all the cosmological codes and data and used the cosmo-generator to get a yaml file for Planck input with CLASS. Do I now add [math] to the list of all the parameters in the file and specify its priors? Or is it supposed to be a derived parameter? How do I then instruct Cobaya to use [math] in working out the other parameters?

This is my first time using Cobaya so any help and tips would be greatly appreciated. Thank you.

Regards,

David

I am currently working on a small project in which I have obtained a constraint on the volume-averaged angular diameter distance [math] (with the value of 1496 +20 -23) at an effective redshift [math] using the BOSS dataset.

Now I want to use Cobaya to combine this constraint on [math] with the Planck data to obtain constraints on other cosmological parameters, most importantly the dark energy.

However, I have been having trouble figuring out a way to use this [math] parameter in Cobaya. I have so far installed all the cosmological codes and data and used the cosmo-generator to get a yaml file for Planck input with CLASS. Do I now add [math] to the list of all the parameters in the file and specify its priors? Or is it supposed to be a derived parameter? How do I then instruct Cobaya to use [math] in working out the other parameters?

This is my first time using Cobaya so any help and tips would be greatly appreciated. Thank you.

Regards,

David