LiLit: Likelihood for LiteBIRD

Build Status Documentation Status PyPI version

LiLit (Likelihood for LiteBIRD) is a framework for forecasting likelihoods for the LiteBIRD CMB polarization satellite. It is designed to work seamlessly with Cobaya (code for bayesian analysis), providing a common framework for LiteBIRD researchers to homogenize post-PTEP cosmological analyses.

The main product of this package is the LiLit likelihood class, which supports various combinations of CMB temperature, E-mode polarization, B-mode polarization, and lensing observations. LiLit is highly flexible and can be dynamically configured at declaration time to work with different field combinations, multipole ranges, and sky fractions.

LiLit has been designed from the beginning to be highly and effortlessly extensible: without touching LiLit’s source code, you can define your own noise models, custom fiducial spectra, and integrate it with your existing analysis pipeline.

Though LiLit is specialized for LiteBIRD forecasting, it includes interfaces to cosmological theory codes (CAMB and CLASS) through Cobaya, and can be easily extended to work with other CMB experiments.

How to cite us

If you use LiLit, please cite its repository and the relevant cosmological codes that you use. You can generate appropriate citations using Cobaya’s cobaya-bib script with your input files.

Table of contents

Installation and quickstart

Theory and Implementation

API Reference

Integration with Cobaya

Indices and tables