gh-346: Growth-Geometry Split OmegaM, Perturbation Classes - #560
Open
FelicitasKeil wants to merge 28 commits into
Open
gh-346: Growth-Geometry Split OmegaM, Perturbation Classes#560FelicitasKeil wants to merge 28 commits into
FelicitasKeil wants to merge 28 commits into
Conversation
…o 346-omegam-split-ODE-growth-rescale-power-spectrum_alternative
…cale-power-spectrum_alternative merging-between-branches: omegam split ode growth rescale power spectrum alternative This adds the modular implementation of the perturbation classes, so that it is easier to switch between Einstein-Boltzmann solvers and/or emulators.
Open
3 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🚀 Pull Request Checklist
✅ Summary
This PR contains the basis implementation for the growth-geometry split of$\Omega_{\rm m}$ .
🔄 Changes
cosmology/derived_cosmology.py: Added function for the Hubble rate (hubble_rate) outside of the EBS that we will need belowcosmology/derived_cosmology.py: Added a differential equation for the growth rate (growth_function_ODE_derivativeandgrowth_function_ODE)cosmology/split_cosmology.py(new): A new cosmology class that computes the split matter power spectrum (linear and non-linear). This follows the up-to-datecloelibperturbations protocolscipyfunctions🛠 How to Test
tests/test_derived_cosmologycontains new tests for the new functions (test_hubble_rate,test_growth_function_ODE)tests/test_split_cosmologyis a new file that tests our perturbation classes using CLASS as the baseline. We added extensive tests, similar to i.e.test_class_cosmology, including the new neutrino related tests.playgroundrepository, we added a new branch346-omegam-split-ODE-growth-rescale-power-spectrum_alternative. The file istutorials/cosmology/growth-geometry-split.ipynb. This validates our matter power spectrum against the CosmoSIS code we were using before. I did not upload the CosmoSIS pickles to the repository but you can see them in the plots and I am happy to provide them.📝 Documentation
🏗 Related Issues
Resolves #346
📌 Additional Notes
This includes the main changes for our growth-geometry split project within DR1-KP-TH2. Some other changes are under way, see issue #498 and a planned likelihood of the CMB angular diameter distance that we want to use.
We have a paper draft for this project, which is a work in progress, but includes the equations implemented here.
We also merged the main branch into this branch. It is up to date at the time of the creation of the PR.
✅ PR Checklist for Developers
pre-commit run --all-filescloelib/docs/✅ PR Checklist for Reviewers
playgroundwill be updated in a corresponding follow-up PRREADME.mdfilecloelib/docs/)