Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
wants to merge 6 commits into from

Conversation

AstroBai
Copy link

@AstroBai AstroBai commented May 24, 2024

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

AstroBai added 2 commits May 24, 2024 23:57
Add fremu (emulator for f(R) gravity)
Add fremu(emulator for f(R) gravity)
@coveralls
Copy link

coveralls commented May 24, 2024

Pull Request Test Coverage Report for Build 9254894413

Details

  • 11 of 34 (32.35%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.3%) to 97.131%

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

💛 - Coveralls

@AstroBai AstroBai closed this Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants