-
Notifications
You must be signed in to change notification settings - Fork 65
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
Emu pk #1094
Emu pk #1094
Conversation
@matteozennaro flake8 is failing (from experience, best run this on your machine before pushing). Do |
The tests are failing because they can't import baccoemu. Try getting it to install by adding it here: https://github.com/LSSTDESC/CCL/blob/master/.github/environment.yml |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot @matteozennaro . This was super quick and it's really great to have these implemented. Just a few comments below.
…re self explanatory names, unified emulator type in cosmology
…tand why it fails
Pull Request Test Coverage Report for Build 5510615878
💛 - Coveralls |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK, a few more things. Once this is done I'll suggest a couple extra tests to improve the code coverage, and we're done.
… expansion factors used to create the 2d interpolator of the nonlinear pk emulators not hardcoded
… matter power spectrum
…ded for aemulus heft)
May be related lesgourg/class_public#416 |
…king because of pip installation of ee2 and class version for aemulus). Will be reintroduced later in a dedicated pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just noticed these two things
…n when cosmology is set up with A_s
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
…stent with CCL h-units convention)
Enable passing linear and nonlinear pk emulators to the cosmology class (baccoemu and euclid emulator 2 implemented for now, generic emulator class introduced extendable to other emulators). Added baccoemu baryonic effect emulator to baryons class.