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}
}

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

litebird_sim-0.17.0.tar.gz (18.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

litebird_sim-0.17.0-py3-none-any.whl (2.3 MB view details)

Uploaded Python 3

File details

Details for the file litebird_sim-0.17.0.tar.gz.

File metadata

  • Download URL: litebird_sim-0.17.0.tar.gz
  • Upload date:
  • Size: 18.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}

File hashes

Hashes for litebird_sim-0.17.0.tar.gz
Algorithm Hash digest
SHA256 11b5494437cf5d9efa091005948e12f137d282cbb7ec363293c11ef2db352649
MD5 c8a909ac7ed00f5a3a8202dccda84a55
BLAKE2b-256 27d3cadc574399615f1b693d4e80834d630475aead7148dc05560e3318bd18a5

See more details on using hashes here.

File details

Details for the file litebird_sim-0.17.0-py3-none-any.whl.

File metadata

  • Download URL: litebird_sim-0.17.0-py3-none-any.whl
  • Upload date:
  • Size: 2.3 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","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}

File hashes

Hashes for litebird_sim-0.17.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2cc1d8164176af6eef01b17d8d7f1d1b3e1a14690b4bf0da0e5662d614ca79a0
MD5 1affa3e4aa9ae16ae7e23c62f23db217
BLAKE2b-256 ee6320fa61def4f435c58989e2fbd0f771f41f962b43188687696570da3f5c0a

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.17.0 This release

2 files

0.16.1

2 files

0.16.0

2 files

0.15.3

2 files

0.15.2

2 files

0.15.1

2 files

0.14.0

2 files

0.13.0

2 files

0.12.0

2 files

0.11.0

2 files

0.10.0

2 files

0.9.0

2 files

0.8.0

2 files

0.7.0

2 files

0.6.0

2 files

0.5.0

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 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