External likelihood for Cobaya containing Lya P1D cosmological constraints from multiple analyses, including the results from the DESI DR1 analysis (Chaves-Montero et al. 2026, https://arxiv.org/abs/2601.21432).
First clone this repository:
$ git clone https://github.com/igmhub/cobaya_lya_p1d.gitThen install it:
$ pip install -e .If you want to evaluate the likelihood for the best-fitting DESI DR1 results, you call the likelihood within Cobaya as follows:
cobaya_lya_p1d.cobaya_lya_p1d.Cobaya_lya_p1d:
params:
delta2star_mean: 0.379
delta2star_std: 0.032
nstar_mean: -2.309
nstar_std: 0.019
correlation: -0.1738
zstar: 3.0
kstar_kms: 0.009
speed: 30000To check that everything works as expected, you can run:
$ cobaya-run cobaya_lya_p1d/example.yamlSee Equations 1 and 2 from Chaves-Montero et al. 2026 for the definitions of delta2star and nstar, and the Cobaya documentation for instructions on installing and using Cobaya.