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

Halo model covariances #806

Closed
damonge opened this issue Jul 23, 2020 · 4 comments · Fixed by #869
Closed

Halo model covariances #806

damonge opened this issue Jul 23, 2020 · 4 comments · Fixed by #869

Comments

@damonge
Copy link
Collaborator

damonge commented Jul 23, 2020

Discussing with @anicola on what we need to have non-Gaussian covariances within the halo model:

  • We need an I_0_4 method in the HMCalculator to compute the 1-halo trispectrum. It will be a function of 2 wavenumbers and the scale factor.
  • We need a I_1_2 method which is part of the power spectrum response. In principle this depends on 2 wavenumbers but the SSC only needs the case where both wavenumbers are the same. Still, because we need this quantity also for the n-halo terms, we will implement it in general, and allow it to calculate it more efficiently in the SSC case.
  • We need to compute the derivatives of P_linear wrt wavenumber. This may be easy since P_lin is stored as a GSL spline, so we just need to write a function that uses https://www.gnu.org/software/gsl/doc/html/interp.html#c.gsl_spline2d_eval_deriv_x.

The n-halo terms should be included in a different PR.

@c-d-leonard c-d-leonard added this to the v3 milestone Oct 8, 2020
@c-d-leonard
Copy link
Collaborator

Progress report on this @damonge ? I'm a bit lost with all the different PRs on this :)

@damonge
Copy link
Collaborator Author

damonge commented May 27, 2021

Right, this pertains mostly the 1-halo trispectrum (which was already implemented in #833) and the SSC (which is being done in #855). The work in #869 is to implement one of the n-halo terms.

@c-d-leonard
Copy link
Collaborator

Okay great. What about the derivatives of the power spectrum mentioned?

@damonge
Copy link
Collaborator Author

damonge commented May 27, 2021

Those are needed for the SSC (and they've been implemented in that branch)

@nikfilippas nikfilippas removed this from the v3 milestone Apr 21, 2023
@nikfilippas nikfilippas linked a pull request Apr 21, 2023 that will close this issue
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 a pull request may close this issue.

3 participants