Open AstroBai opened 1 month ago
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
pyccl/emulators/fremu_pk.py | 10 | 33 | 30.3% | ||
<!-- | Total: | 11 | 34 | 32.35% | --> |
Totals | |
---|---|
Change from base Build 9021835287: | -0.3% |
Covered Lines: | 6567 |
Relevant Lines: | 6761 |
Add FREmu to PyCCL. One can set f(R)(Hu-Sawicki) parameter by setting
extra_parameters={"fR0":fR0}
Usage: Install FREmu:pip install fremu
Set parameters:fremu_nl = ccl.FREmu()
cosmo = pyccl.Cosmology(extra_parameters={"fR0":fR0}, matter_power_spectrum=fremu_nl)
Emulator details: https://arxiv.org/abs/2405.05840 Documentation: https://astrobai.github.io/codes/fremu.html Source code: https://github.com/AstroBai/FREmu