Skip to main content

Stable Tests Build Status Issues Binder Open In Colab GPL3 License


Logo

LiteBIRD Simulation Framework

Main repository of the LiteBIRD Simulation Framework, a set of Python modules to simulate the instruments onboard the LiteBIRD spacecraft.
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents

About The Project

The LiteBIRD Simulation Framework is being developed for the LiteBIRD collaboration.

Built With

Getting Started

Refer to the documentation to learn how to install the LiteBIRD simulation framework on your computer or on a HPC cluster.

Usage

An example notebook is avalable here.

The documentation is available online at litebird-sim.readthedocs.io/en/master/.

To create a local copy of the documentation, make sure you ran uv with the docs optional dependencies, then run the following command:

  • Linux or Mac OS X:

    ./refresh_docs.sh
    
  • Windows:

    uv shell
    cd docs
    make.bat html
    

Focal plane visualizer

We can visualize detectors in the focal plane by:

python -m litebird_sim.plot_fp

This software loads the IMo which is installed in the machine you are using.

As the conversation unfolds, an interactive Matplotlib window will appear. Detectors corresponding to the specified channels are represented as blue dots.

Clicking on a dot reveals the DetectorInfo for that detector in real time, highlighted with a red star.

Additionally, if you agree during the conversation to generate a detector file, a list of starred detectors will be saved into a text file at the designated location after you closed the plot.

FP Usage

Roadmap

See the open issues for a list of proposed features (and known issues).

Contributing

If you are part of the LiteBIRD collaboration and have something that might fit in this framework, you're encouraged to contact us! Any contributions you make are greatly appreciated.

  1. Read CONTRIBUTING.md
  2. Fork the project
  3. Create your feature branch (git checkout -b feature/AmazingFeature)
  4. Commit your changes (git commit -m 'Add some AmazingFeature')
  5. Push to the Branch (git push origin feature/AmazingFeature)
  6. Open a Pull Request

License

Distributed under the GPL3 License.

Contact

LiteBIRD Simulation Team - litebird_pipe@db.ipmu.jp

Project Link: https://github.com/litebird/litebird_sim

How to cite this code

If you use the LiteBIRD Simulation Framework in your work, please cite:

M. Tomasi et al. (LiteBIRD Collaboration), "A simulation framework for the LiteBIRD instruments," JCAP 11 (2025) 040. doi:10.1088/1475-7516/2025/11/040, arXiv:2507.04918.

BibTeX:

@article{Tomasi:2025:litebird_sim,
  author  = {Tomasi, M. and {LiteBIRD Collaboration}},
  title   = {A simulation framework for the LiteBIRD instruments},
  journal = {JCAP},
  volume  = {11},
  year    = {2025},
  pages   = {040},
  doi     = {10.1088/1475-7516/2025/11/040},
  eprint  = {2507.04918},
  archivePrefix = {arXiv},
  primaryClass  = {astro-ph.IM}
}

Release files for litebird_sim 0.18.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for litebird_sim 0.18.0
File Size Uploaded
litebird_sim-0.18.0.tar.gz 19.7 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for litebird_sim 0.18.0
File Interpreter ABI Platform
litebird_sim-0.18.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.1 MB

Release files / litebird_sim-0.18.0.tar.gz

Download URL litebird_sim-0.18.0.tar.gz
Size 19.7 MB
Tags Source
SHA-256 checksum
How to use checksums
a0a88586662e58ed9854c635ca7018842fa7250300ee11e9c2ed9720ce9a77d9
BLAKE2b-256 checksum
How to use checksums
b339c07998befabb5daad060e76c7cd2a527fab1cf9acfc2f89b156b8fbd5954
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / litebird_sim-0.18.0-py3-none-any.whl

Download URL litebird_sim-0.18.0-py3-none-any.whl
Size 2.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
5b08aa92d940fc545443c24d396d723638b803a9fd6b09526070210de22925b9
BLAKE2b-256 checksum
How to use checksums
d9e34a7ebba56a5400867922e598bea54101704f1c3a4386922b6d3448cde3e2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.13.0 {"installer":{"name":"uv","version":"0.13.0","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.18.0 This release

2 release files

0.16.0

2 release files

0.15.2

2 release files

0.15.1

2 release files

0.14.0

2 release files

0.13.0

2 release files

0.12.0

2 release files

0.11.0

2 release files

0.10.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page