← Latest papers
🔭 astrophysics

cloelike: A Python Library for Cosmological Likelihood Inference in the Euclid Era

This paper introduces **cloelike**, a modular Python library designed to provide Gaussian likelihood classes for key Euclid mission observables (including weak lensing, galaxy clustering, and BAO), serving as a core component of the CLOE ecosystem to support cosmological inference, community validation, and reproducibility.

Original authors: Marco Bonici (cloe-org maintainers), Guadalupe Cañas-Herrera (cloe-org maintainers), Pedro Carrilho (cloe-org maintainers), Santiago Casas (cloe-org maintainers), Chiara Moretti (cloe-org maintainers)
Published 2026-05-25
📖 4 min read☕ Coffee break read

Original authors: Marco Bonici (cloe-org maintainers), Guadalupe Cañas-Herrera (cloe-org maintainers), Pedro Carrilho (cloe-org maintainers), Santiago Casas (cloe-org maintainers), Chiara Moretti (cloe-org maintainers), Andrea Pezzotta (cloe-org maintainers), Zahra Baghkhani (cloe-org contributors), Carmelita Carbone (cloe-org contributors), Martin Crocce (cloe-org contributors), Jip de Buck (cloe-org contributors), Klara Bertmann (cloe-org contributors), Nastassia Grimm (cloe-org contributors), Martin Kärcher (cloe-org contributors), Felicitas Keil (cloe-org contributors), Davide Sciotti (cloe-org contributors), Peter L. Taylor (cloe-org contributors), Nicolas Tessore (cloe-org contributors), Isaac Tutusaus (cloe-org contributors), Casper Vedder (cloe-org contributors)

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine the Euclid space mission as a massive, high-tech camera sent into the sky to take a panoramic photo of the entire universe. Its goal is to figure out the "secret ingredients" of the cosmos: what makes up dark energy and dark matter, and how the universe began.

But taking the picture is only half the battle. To understand what the photo means, scientists need a way to compare the actual picture they took against a theoretical drawing of what the universe should look like if their favorite theories are correct. This is where cloelike comes in.

What is cloelike?

Think of cloelike as a specialized calculator or a universal translator for cosmologists. It is a free, open-source software tool (a Python library) designed specifically to do one job very well: calculate the "score" of how well a theory matches the data.

In the world of science, this "score" is called a likelihood.

  • If the theory fits the data perfectly, the score is high.
  • If the theory is way off, the score is low.

The Problem It Solves

Before this tool, scientists had to build their own custom calculators for every different type of cosmic measurement (like how galaxies cluster together or how light bends around them). It was like every chef in a kitchen having to invent their own knife, their own stove, and their own measuring cups. It was messy, hard to share, and prone to errors.

cloelike solves this by providing a standardized, modular kitchen.

  • Modular: You can snap different parts together like LEGO bricks. Need to measure galaxy clustering? Snap on that block. Need to measure gravitational lensing (bending light)? Snap on that one.
  • Composable: You can combine them to measure everything at once (like a "3x2pt" analysis, which is a fancy way of saying "looking at three different clues together to solve the mystery").

How It Works (The Analogy)

The paper describes cloelike as the "middleman" in a three-person conversation:

  1. The Data (The Evidence): This is the raw information from the Euclid telescope (the "data vector" and "covariance matrix"). Think of this as the crime scene photos.
  2. The Theory (The Suspect's Alibi): This comes from a sister tool called cloelib. It generates predictions based on different cosmological models. Think of this as the theoretical reconstruction of what the crime scene should look like if a specific suspect is guilty.
  3. The Calculator (cloelike): This is cloelike. It takes the crime scene photos and the theoretical reconstruction, lines them up perfectly, and calculates the difference. It outputs a single number (a χ2\chi^2 statistic) that tells the scientists: "How close is the suspect's story to the actual evidence?"

Why Is It Special?

The paper highlights a few key features that make this tool a game-changer for the Euclid mission:

  • It's a Specialist, Not a Generalist: Unlike other big software packages that try to do everything (from theory to data to sampling), cloelike focuses purely on the scoring. It doesn't try to guess the answer; it just tells you how good a guess is. This makes it fast, reliable, and easy to plug into other tools that do the guessing (sampling engines).
  • It Speaks "Euclid": It is built to understand the specific file formats and data structures that the Euclid mission produces. It's like a translator who speaks the exact dialect of the Euclid team, ensuring no information gets lost in translation.
  • It's Built for Teamwork: Because it's open-source and modular, different teams within the Euclid Consortium can use the same tool to check their work. This ensures that when they combine their results, they are all speaking the same language and using the same rules.

In Summary

cloelike is the scorekeeper for the Euclid space mission. It allows scientists to take the massive amounts of data coming from the telescope, compare them against different theories of the universe, and get a clear, standardized number that says, "This theory fits," or "This theory doesn't."

By making this process easy, reliable, and open to everyone, it helps the global community of astronomers work together to unlock the secrets of dark energy and dark matter.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →