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.9.2

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.9.2
File Size Uploaded Provenance Actions
obdeect-0.9.2.tar.gz 5.9 MB With provenance Details for obdeect-0.9.2.tar.gz

Built distribution (wheel)

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

Total release size: 5.9 MB

Release files / obdeect-0.9.2.tar.gz

Download URL obdeect-0.9.2.tar.gz
Size 5.9 MB
Tags Source
SHA-256 checksum
How to use checksums
2f56af4146f19c3856e48c13e6dfe06966f199146b135d843b95c8f0a38c097b
BLAKE2b-256 checksum
How to use checksums
bb158f21f7fb556c60634611cdd67ad4d6289557fdb82ee142467dd925c6247a
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 16, 2026.

Transparency log

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

Download URL obdeect-0.9.2-py3-none-any.whl
Size 2.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ef5205f412fbcd22f5c5b0066726ded414b1be8c5d69d9ced0f6ace09735706c
BLAKE2b-256 checksum
How to use checksums
6b2a36052c29fc3ddb30cfa1b56446ad320577e438ca539d28f382e0c0c830c2
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 16, 2026.

Transparency log

Security for obdeect 0.9.2

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.9.2.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 16, 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