Hi all
I would like to use a customized scalar and tensor primordial power spectrum into CAMB code and then use cobaya code to constrain the parameters. There is already a code (https://github.com/CobayaSampler/paper_cosmo_demo) for how to feed external power spectrum to camb but I would modify both scalar and tensor power spectrum and then need to know how I should modify also the yaml input file. It would be great if some one could help me out.
Cobaya/Camb external scalar and tensor power spectrum
-
- Posts: 1973
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Cobaya/Camb external scalar and tensor power spectrum
You should be able to use a custom tensor spectrum in a similar way to scalar.
There's also example P(k) code in tests/test_cosmo_multi_theory.py.
There's also example P(k) code in tests/test_cosmo_multi_theory.py.