software

Open-source software for precision cosmology.

My goal is to deliver the next generation of precision cosmology results with the incoming Stage IV surveys. Over the last decade I have been involved in the development, verification and validation of the ESA Euclid mission, and along the way I have built new software to go from a cosmological model to predictions for the observables, from predictions to likelihoods, and from Euclid data products to parameter constraints I can trust.

I have always kept in mind that the best cosmological constraints we will ever achieve will come from combining several surveys and data sets, not from any single one. That is why I make sure the software I develop is transferable and can be extended and applied to other experiments. Everything I do is open source, and most of it is built together with colleagues in the community (I am proudly a team player). If you use it, break it or want to improve it, I'd love to hear from you.

gcanasherrera cloe-org euclidlib

## CLOE: the Euclid likelihood

CLOE (Cosmology Likelihood for Observables in Euclid) is how Euclid goes from data to cosmological parameters. Its new generation is split into two packages: one for theory, one for likelihoods.

cloelib creator & lead developer

The theory library. It computes Euclid observables (angular power spectra, correlation functions, COSEBIs and spectroscopic multipoles) from any cosmology, using Boltzmann solvers and emulators such as CAMB, CLASS, EuclidEmulator2, BACCO, CosmoPower-JAX or COMET through a common interface.

pip install cloelib
cloelike creator & lead developer

The likelihoods, built on cloelib. It covers all Euclid primary probes: photometric 3×2pt in harmonic and real space, BNT C(ℓ), COSEBIs, and spectroscopic full-shape and BAO, separately or combined. Installing it gives you the whole stack.

pip install cloelike
CLOE core developer

The original Euclid Consortium likelihood code, which we used for the official Euclid forecasts and validation. cloelib and cloelike grew out of it.

## Euclid data and statistics
euclidlib core developer

A community Python library for reading Euclid's cosmology-ready data products, such as redshift distributions, two-point statistics and covariances, so you can spend your time on the science instead of the file formats.

pip install euclidlib
darkflipper creator

Figures of Merit, Figures of Bias, p-values and other diagnostics I kept re-implementing for systematics studies, now in one place with clear definitions.

pip install darkflipper
## Teaching and reproducibility
Stats4Cosmology

The notebooks I use to teach statistics for cosmology: from measuring H₀ with supernovae to running cosmological chains and comparing models with Cobaya.

Forecasting-Euclid

All the scripts and notebooks behind our forecasts for Euclid's end-of-mission (DR3) cosmological constraints, so anyone can rerun them.