Likelihood for LiteBIRD
Project description
LiLit: Likelihood for LiteBIRD
Author: Giacomo Galloni
LiLit (Likelihood for LiteBIRD) is a framework for forecasting likelihoods for the LiteBIRD CMB polarization satellite. It provides a common framework for LiteBIRD researchers working within the Cobaya cosmological analysis ecosystem.
Quick Start
Install LiLit from PyPI:
pip install lilit
Basic usage:
from lilit import LiLit
# Create a likelihood for temperature and polarization
fields = ["t", "e", "b"]
likelihood = LiLit(
fields=fields,
lmax=[1500, 1200, 900],
lmin=[20, 2, 2],
fsky=[1.0, 0.8, 0.6]
)
Key Features
- Multiple field support: Temperature, E-mode, B-mode polarization, and lensing
- Flexible configuration: Field-specific multipole ranges and sky fractions
- Multiple likelihood approximations: Exact, Gaussian, and correlated Gaussian
- Seamless Cobaya integration: Drop-in replacement for existing likelihood codes
- Extensible design: Easy integration of custom noise models and fiducial spectra
Documentation
📖 Complete documentation is available at https://lilit.readthedocs.io/
The documentation includes:
- Installation guide and quick start tutorial
- Detailed examples for common LiteBIRD use cases
- Theoretical background on likelihood approximations
- API reference with full class and function documentation
- Cobaya integration guide for parameter estimation and model comparison
Examples
See the examples directory and the online documentation for working examples including:
- Basic temperature and polarization analysis
- Multi-field likelihood configurations
- Integration with Cobaya sampling chains
- Custom noise model implementations
Contributing
Contributions are welcome! Please see our documentation for development guidelines, or open an issue to discuss major changes.
Citation
If you use LiLit in your research, please cite this repository and the relevant cosmological codes. Use Cobaya's cobaya-bib script to generate appropriate citations for your specific analysis.
Support
- Documentation: https://lilit.readthedocs.io/
- Issues: GitHub Issues
- Cobaya documentation: https://cobaya.readthedocs.io/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lilit-1.3.0.tar.gz.
File metadata
- Download URL: lilit-1.3.0.tar.gz
- Upload date:
- Size: 8.8 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
474358218e01e0cabe94cf2a86762fdfb6663ba2280c1d707a04b8533d285347
|
|
| MD5 |
627d1744164306c3c53e3d33683a2ea7
|
|
| BLAKE2b-256 |
597c6b653f62e5fe7f12ebbef9fdfb80083d2b2289bfa431b1ce71f4cb47a8cc
|
File details
Details for the file lilit-1.3.0-py3-none-any.whl.
File metadata
- Download URL: lilit-1.3.0-py3-none-any.whl
- Upload date:
- Size: 74.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16bf382d2c55e2b0b67f5787833603ac57f11f2a944cac19c39b1e74f64976f3
|
|
| MD5 |
0082fa53ba66b645e39696d97543bd1b
|
|
| BLAKE2b-256 |
c18a717bcfa002314c9f4f9a9a323d3dfbedf922b22d13e74aa0cfd7a766abc2
|