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

TST: Improve power spectrum testing #567

Open
2 tasks
itrharrison opened this issue Jul 1, 2022 · 1 comment
Open
2 tasks

TST: Improve power spectrum testing #567

itrharrison opened this issue Jul 1, 2022 · 1 comment
Assignees
Labels
enhancement Improvement of existing feature module: power spectrum tests

Comments

@itrharrison
Copy link
Contributor

The current test of classy power spectra fails, due to the interpolation creating >% level errors with respect to the previous function implementation, depending on the redshift.

We need to decide how to define a 'truth' power spectrum in order to create test data to validate which, if either of these is more correct.

This would probably require:

  • creating a baseline P(k,z) where we had consistency at the 10^-4 level between camb and class run natively
  • using this P(k,z) as the test data for our implementations which include interpolation
@itrharrison itrharrison added enhancement Improvement of existing feature module: power spectrum tests labels Jul 1, 2022
@itrharrison itrharrison self-assigned this Jul 1, 2022
@itrharrison itrharrison changed the title ENH: Improve power spectrum testing TST: Improve power spectrum testing Jul 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improvement of existing feature module: power spectrum tests
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

1 participant