[COBAYA] Modifying interface between CAMB and HALOFIT
Posted: September 06 2022
Hi,
I want to use cobaya for cosmological inference from some large-scale galaxy survey(s), with a modification: the model we consider introduces parameter(s) whose functions scale the linear matter powerspectrum P(k,z).
I know that CAMB solves for the linear Bolztman equations for the density perturbations in each component of the fluid, but I'm not sure what it passes to HALOFIT exactly. If it passes the linear matter powerspectrum and that is all required by HALOFIT, presumably I should be able to "catch" the linear matter powerspectrum, before it is passed to HALOFIT, and modify that part of the code, correct? If yes, where should I attempt this? If no, what is the potential pitfall(s)? Many thanks!
I want to use cobaya for cosmological inference from some large-scale galaxy survey(s), with a modification: the model we consider introduces parameter(s) whose functions scale the linear matter powerspectrum P(k,z).
I know that CAMB solves for the linear Bolztman equations for the density perturbations in each component of the fluid, but I'm not sure what it passes to HALOFIT exactly. If it passes the linear matter powerspectrum and that is all required by HALOFIT, presumably I should be able to "catch" the linear matter powerspectrum, before it is passed to HALOFIT, and modify that part of the code, correct? If yes, where should I attempt this? If no, what is the potential pitfall(s)? Many thanks!