Skip to content

Adding large scale extrapolation of HEFT power spectra with biased li…#1249

Merged
anicola merged 2 commits intomasterfrom
extrap_bacco_heft
Aug 8, 2025
Merged

Adding large scale extrapolation of HEFT power spectra with biased li…#1249
anicola merged 2 commits intomasterfrom
extrap_bacco_heft

Conversation

@anicola
Copy link
Contributor

@anicola anicola commented Jun 19, 2025

This PR adds extrapolation of the BACCO HEFT power spectra at large scales with the appropriately biased linear power spectrum from baccoemu. This is to avoid extrapolation issues that happen when extrapolating outside the k range covered by the BACCO HEFT emulator.

@anicola anicola requested review from damonge and matteozennaro June 19, 2025 16:38
@coveralls
Copy link

coveralls commented Jun 19, 2025

Pull Request Test Coverage Report for Build 15870931908

Details

  • 15 of 15 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.005%) to 97.464%

Totals Coverage Status
Change from base Build 15552327206: 0.005%
Covered Lines: 6571
Relevant Lines: 6742

💛 - Coveralls

Copy link
Collaborator

@damonge damonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Just minor comments below, and a less minor one here: could we add a unit test checking that the extrapolation is doing the right thing? I.e. call bacco without extrapolation and then check that at k=1E-4 or whatever it matches the linear prediction.

@anicola
Copy link
Contributor Author

anicola commented Jun 25, 2025

Thank you so much for the review @damonge! Should all be addressed in the new commit but do let me know about the encasing.

Copy link
Collaborator

@damonge damonge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@anicola anicola merged commit 591cbb5 into master Aug 8, 2025
4 checks passed
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.

3 participants