Skip to main content

obdeect

Obdeect optical ray tracing for imaging atmospheric Cherenkov telescopes

DOI

obdeect is a simulation chain for imaging atmospheric Cherenkov telescopes.

The chain is made of modules that exchange photons as photon streams:

Component Package Command
atmospheric propagation obdeect-propagation obdeect propagation ...
light sources obdeect-sources obdeect sources ...
ray tracing obdeect-ray-tracing obdeect ray-tracing ...
camera simulation (not implemented yet) uses sim_telarray
photon stream obdeect-stream obdeect stream ...

simtools configures and runs the chain.

Install

pip install obdeect             # all components at one version
pip install obdeect-sources     # one component (also installs obdeect-stream)
obdeect --version               # installed components and photon-stream format version

Requires Python 3.14 or higher.

Example

Flasher light on the dish, propagated through the atmosphere, traced through a telescope optical model, and written as sim_telarray input:

obdeect sources flasher --type dish --photons 1e6 \
  | obdeect propagation run --transmission atm.dat --site-altitude 2156 --seed 1 -i - -o - \
  | obdeect ray-tracing trace-stream --model telescope.json --seed 7 \
  | obdeect stream to-simtel --camera-map cam.txt > sim.simtel

obdeect stream to-simtel prints the sim_telarray option (Bypass_Optics) to use for the file.

Build from source

cmake -S . -B build && cmake --build build && ctest --test-dir build
pip install ./src/stream ./src/propagation ./src/sources ./src/ray_tracing
for c in stream propagation sources ray_tracing; do pytest src/$c/python/tests; done

Requires Python 3.14 or higher, a C++20 compiler, and CMake 3.20 or higher.

License

BSD-3-Clause. See LICENSE and CITATION.cff.

Metadata

Release files for obdeect 0.10.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 obdeect 0.10.0
File Size Uploaded Provenance Actions
obdeect-0.10.0.tar.gz 5.9 MB With provenance Details for obdeect-0.10.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.9 MB

Release files / obdeect-0.10.0.tar.gz

Download URL obdeect-0.10.0.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
827d929d462843184adedef8c75c22fe7cdeda105600b88c976bb047eb14d1af
BLAKE2b-256 checksum
How to use checksums
35d194e1bcae6aebe29e98c91c5852cd005d26451546e1ca8c36bf9e9a52bfad
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Release files / obdeect-0.10.0-py3-none-any.whl

Download URL obdeect-0.10.0-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
840918b6ebbab41e9c622588fab8af9ce1f69e09764dc4378102bcd19f647f84
BLAKE2b-256 checksum
How to use checksums
8d6d417127dc19eb1717b1ff14b4247380563ef715039b7cc04a33dbd8ad415c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

Security for obdeect 0.10.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for obdeect-0.10.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 20, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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