Skip to content

gh-139: added a notebook for cosmopower_jax#140

Open
ivansladoljev wants to merge 2 commits into
mainfrom
cosmopower-jax-notebook
Open

gh-139: added a notebook for cosmopower_jax#140
ivansladoljev wants to merge 2 commits into
mainfrom
cosmopower-jax-notebook

Conversation

@ivansladoljev
Copy link
Copy Markdown
Collaborator

@ivansladoljev ivansladoljev commented Apr 16, 2026

📌 Related Issue

Closes #139

✨ What’s been added or changed?

Adds tutorials/cosmology/cosmopower_jax_cosmology.ipynb demonstrating the CosmoPower-JAX emulators available in cloelib:

  • Validation of linear P(k) against CAMB with relative difference panel
  • Comparison of total matter P(k) vs CDM+baryons P_cb(k)
  • ΛCDM vs w0waCDM for several dark energy models
  • Effect of neutrino mass (0, 1, 3 species) on the power spectrum

🧪 How was it tested?

  • Notebook executed end-to-end in the cloe2 conda environment
  • Emulator predictions visually validated against CAMB (relative difference < 1% on large scales)

🧠 Anything to keep in mind?

Emulator files are downloaded automatically from Zenodo on first run

🔍 Checklist

You can review this PR in ReviewNB, don't forget to log in with your GitHub username:
👉 https://app.reviewnb.com/cloe-org/playground/pulls/

  • I've named the title of this pull request starting by 'gh-#: TITLE'
  • I’ve linked the related issue
  • I’ve tested the code or notebooks manually
  • I’ve added comments/docstrings where needed (i.e: README)
  • I’ve updated relevant docs if necessary

@review-notebook-app
Copy link
Copy Markdown

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

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.

Adding CosmoPowerJAX tutorial notebook

1 participant