Skip to main content

obdeect

obdeect is a simulation chain for imaging atmospheric Cherenkov telescopes. The chain is made of modules that exchange photons as photon streams: light sources or CORSIKA air showers, the atmosphere, telescope optics, and the camera simulation in sim_telarray, which is reached through obdeect stream to-simtel. The repository simtools configures and runs the chain.

Component Package Command
photon stream obdeect-stream obdeect stream ...
atmospheric propagation obdeect-propagation obdeect propagation ...
light sources obdeect-sources obdeect sources ...
ray tracing obdeect-ray-tracing obdeect ray-tracing ...

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
pytest validation   # end-to-end chain

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

Status

Alpha. The ray tracing component is pre-alpha.

License

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

Metadata

Release files for obdeect 0.8.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.8.0
File Size Uploaded Provenance Actions
obdeect-0.8.0.tar.gz 5.8 MB With provenance Details for obdeect-0.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 5.8 MB

Release files / obdeect-0.8.0.tar.gz

Download URL obdeect-0.8.0.tar.gz
Size 5.8 MB
Tags Source
SHA-256 checksum
How to use checksums
9360105b37e619afe67edef8a72a36502e68dee9a16464690c8926e7e6dae388
BLAKE2b-256 checksum
How to use checksums
9ac505dc346d9bcc38557297a4a891df1ff99b7b4ab9b9d367f7d85380003151
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 13, 2026.

Transparency log

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

Download URL obdeect-0.8.0-py3-none-any.whl
Size 2.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8658215e58d409f2c889d145785790807c4cf451fcd1491a26ce6d0895ff6731
BLAKE2b-256 checksum
How to use checksums
1a370bf2a2da2e8442682562d0d9a820abfb744dff9381b60d64d8537ad6fd3d
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 13, 2026.

Transparency log

Security for obdeect 0.8.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.8.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 13, 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