Is it possible to add a step function in the likelihood block of the cobaya .yaml file?
For example, a gaussian when a parameter is greater than a fixed value, and 0 when the the parameter is smaller than that value. Is there any reference I can check on how to write this. Thanks!
Cobaya: step function likelihood
-
- Posts: 17
- Joined: October 05 2021
- Affiliation: UCI
-
- Posts: 1874
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Cobaya: step function likelihood
You can add a lambda prior in the prior block as in the advanced example
https://cobaya.readthedocs.io/en/latest/example_advanced.html#example-advanced-shell
https://cobaya.readthedocs.io/en/latest/example_advanced.html#example-advanced-shell
-
- Posts: 17
- Joined: October 05 2021
- Affiliation: UCI
Re: Cobaya: step function likelihood
Thank you!