LSSTDESC / CCL

DESC Core Cosmology Library: cosmology routines with validated numerical accuracy
BSD 3-Clause "New" or "Revised" License
133 stars 64 forks source link

Add FREmu (non-linear matter power spectrum emulator for f(R) gravity) #1182

Open AstroBai opened 1 month ago

AstroBai commented 1 month ago

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

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 9254894413

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
pyccl/emulators/fremu_pk.py 10 33 30.3%
<!-- Total: 11 34 32.35% -->
Totals Coverage Status
Change from base Build 9021835287: -0.3%
Covered Lines: 6567
Relevant Lines: 6761

💛 - Coveralls