cosmicjellyfish#
Fisher-matrix forecasts for galaxy clustering, weak lensing and CMB surveys, with CAMB, CLASS, a built-in symbolic backend or optional JAXcosmo.
pip install cosmicjellyfish
Install from PyPI or from source, choose optional extras, and check the installation.
Run a compact photometric forecast end to end with the built-in symbolic backend.
Core concepts, derivative schemes, likelihood sampling with Nautilus, and backend background.
Euclid photometric and spectroscopic clustering, weak lensing, CMB and intensity mapping.
Modules, classes and functions generated from the package docstrings.
Contribution guidelines, changelog, validation reports and the scripts reference.
Features#
Multiple backends. Use CAMB, CLASS, the built-in
symbolicbackend that needs no external Einstein–Boltzmann solver, or precomputedexternaltables.Surveys and observables. Photometric (
GCph,WL) and spectroscopic (GCsp) Euclid forecasts, CMB (CMB_T,CMB_E,CMB_B) and intensity mapping (IM).Finite-difference derivatives.
3PT,STEM,POLYand4PT_FWDschemes, selected with a single option.Automatic differentiation. Optional JAXcosmo theory and JAX-native photometric and spectroscopic observables, with matched AD/FD comparisons (JAXcosmo and automatic differentiation).
Analysis and plotting. Marginalise, reshuffle and combine Fisher matrices, and draw triangle plots to compare surveys and settings.
Likelihood sampling. Run Nautilus posterior sampling with the same observables and compare chains with Fisher forecasts (Likelihood sampling with Nautilus).
Validated. CAMB-versus-CLASS Fisher comparisons and likelihood checks are documented and reproducible from the repository scripts.
Cite us#
Please cite the software if you use it. The repository’s
CITATION.cff is the
maintained source of citation metadata; a minimal BibTeX entry is:
@software{cosmicjellyfish,
author = {Casas, Santiago and Martinelli, Matteo and Pamuk, Sefa and Sabarish, V. M.},
title = {cosmicjellyfish: Fisher-matrix forecasts for cosmological surveys},
url = {https://github.com/santiagocasas/cosmicjellyfish}
}