Cobaya- changing on runtime redshifts or lmax
-
- Posts: 11
- Joined: October 01 2019
- Affiliation: unige
Cobaya- changing on runtime redshifts or lmax
Hi all,
is there a way to change on runtime the redshifts or lmax of the theory needs for the likelihood during sampling?
Apart of setting some bigger ellmax or zrange I did not find any simple way (tried a few but none worked...)
For example this would be possible directly using camb
is there a way to change on runtime the redshifts or lmax of the theory needs for the likelihood during sampling?
Apart of setting some bigger ellmax or zrange I did not find any simple way (tried a few but none worked...)
For example this would be possible directly using camb
-
- Posts: 1943
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Cobaya- changing on runtime redshifts or lmax
What was wrong with just setting bigger ellmax or zrange/do you have an example ? The likelihood should of course request what it needs for actual results.
-
- Posts: 11
- Joined: October 01 2019
- Affiliation: unige
Re: Cobaya- changing on runtime redshifts or lmax
For the z range, for example one thing that I would like is to calculate at different redshift the observables, e.g. H(z).
Now I can request calculation of H at given redshifts zs, but what if I want at zs' with centers different than zs? For example if zs' mid values of zs.
Now I can request calculation of H at given redshifts zs, but what if I want at zs' with centers different than zs? For example if zs' mid values of zs.
-
- Posts: 1943
- Joined: September 23 2004
- Affiliation: University of Sussex
- Contact:
Re: Cobaya- changing on runtime redshifts or lmax
Either request exactly what you need, or construct a spline from the requested array and interpolate to other values you want.
-
- Posts: 11
- Joined: October 01 2019
- Affiliation: unige
Re: Cobaya- changing on runtime redshifts or lmax
I wanted to avoid doing an interpolation, but maybe I can just check the accuracy of this approximation.
Thanks Antony
Thanks Antony