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

Halofit implementation #77

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Halofit implementation #77

wants to merge 2 commits into from

Conversation

marcobonici
Copy link

The goal of this PR is to implement the halofit recipy, in order to have a nonlinear power spectrum built on top of the linear prediciton of Bolt.jl.

In order to achieve that goal, I have:

  • added some functions to utils.jl, required to compute the variance of (filtered) fluctations
  • added a new module, nonlinear.jl, that computes the halofit power spectrum
  • added a script which shows how to use my implementation

I haven't yet fully inspected the performance side, but I suppose that the most time consuming part is the evaluation of the scale at which the variance is equal to one.

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.

None yet

2 participants