Skip to main content

obdeect

Obdeect optical ray tracing for imaging atmospheric Cherenkov telescopes

DOI

obdeect is a C++20 optical ray tracer for imaging atmospheric Cherenkov telescopes. The C++ core uses only the standard library. Python compiles optical models from the simulation models, traces photons, and plots results; simtools uses it as a ray-tracing backend.

See the user guide, the physics of the photon path, and the validation against sim_telarray.

User Installation

Install from PyPI with:

python -m venv .venv
source .venv/bin/activate
python -m pip install obdeect

(requires python 3.14 or higher)

Verify the installation by compiling an optical model from a simulation-models checkout and tracing a star:

obdeect compile --simulation-models ../simulation-models --model MSTN-01 \
  --version 7.0.0 --seed 1 --zenith-deg 20 --output mst.json
obdeect trace --model mst.json --seed 2 --photons 10000 --field-deg 0.5 0

Developer Installation

python -m venv .venv
source .venv/bin/activate
python -m pip install -e '.[dev]'
cmake --preset debug
cmake --build --preset debug --target clean  # optional: clean the build directory before building
cmake --build --preset debug

The C++ tests are in build/debug/tests/.

Test your installation with:

ctest --test-dir build/debug --output-on-failure
python -m pytest python/tests

License and Citation

BSD-3-Clause license. Citation metadata is in CITATION.cff.

Generative AI disclosure

Generative AI tools (mostly ChatGPT 5.6, Opus 5.5) were used to write the entire code of this project. All AI-assisted outputs were reviewed, validated, and, where necessary, modified by the authors to ensure accuracy and reliability.

Documentation

Build the documentation locally (in the virtual environment) with:

python -m pip install -e '.[docs]'
sphinx-build -W --keep-going -b html docs docs/_build/html

Open docs/_build/html/index.html in a browser. The figures in docs/_static/figures/ are part of the repository; regenerate them from new validation results with python docs/figures/make_figures.py.

Metadata

Release files for obdeect 0.7.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.7.2
File Size Uploaded Provenance Actions
obdeect-0.7.2.tar.gz 5.3 MB With provenance Details for obdeect-0.7.2.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for obdeect 0.7.2
File Actions
obdeect-0.7.2-cp315-cp315-musllinux_1_2_x86_64.whl CPython 3.15 CPython 3.15 Linux musl 1.2+ x86-64 Details for obdeect-0.7.2-cp315-cp315-musllinux_1_2_x86_64.whl
obdeect-0.7.2-cp315-cp315-musllinux_1_2_aarch64.whl CPython 3.15 CPython 3.15 Linux musl 1.2+ ARM64 Details for obdeect-0.7.2-cp315-cp315-musllinux_1_2_aarch64.whl
obdeect-0.7.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.15 CPython 3.15 Linux glibc 2.27+ x86-64, Linux glibc 2.28+ x86-64 Details for obdeect-0.7.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
obdeect-0.7.2-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.15 CPython 3.15 Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 Details for obdeect-0.7.2-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
obdeect-0.7.2-cp315-cp315-macosx_13_0_arm64.whl CPython 3.15 CPython 3.15 macOS 13.0+ ARM64 Details for obdeect-0.7.2-cp315-cp315-macosx_13_0_arm64.whl
obdeect-0.7.2-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for obdeect-0.7.2-cp314-cp314-musllinux_1_2_x86_64.whl
obdeect-0.7.2-cp314-cp314-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ ARM64 Details for obdeect-0.7.2-cp314-cp314-musllinux_1_2_aarch64.whl
obdeect-0.7.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.28+ x86-64, Linux glibc 2.27+ x86-64 Details for obdeect-0.7.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
obdeect-0.7.2-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.26+ ARM64, Linux glibc 2.28+ ARM64 Details for obdeect-0.7.2-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
obdeect-0.7.2-cp314-cp314-macosx_13_0_arm64.whl CPython 3.14 CPython 3.14 macOS 13.0+ ARM64 Details for obdeect-0.7.2-cp314-cp314-macosx_13_0_arm64.whl

Total release size: 7.8 MB

Release files / obdeect-0.7.2.tar.gz

Download URL obdeect-0.7.2.tar.gz
Size 5.3 MB
Tags Source
SHA-256 checksum
How to use checksums
e8fb79cdc799ba377c9a400027c7a331caa9bc7ae312e24aa1196dfc738a228a
BLAKE2b-256 checksum
How to use checksums
6d69ae12815c23673d37217bdde4f6aec60a5c9da88ced453fbb5535bc82285d
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp315-cp315-musllinux_1_2_x86_64.whl

Download URL obdeect-0.7.2-cp315-cp315-musllinux_1_2_x86_64.whl
Size 315.6 kB
Tags CPython 3.15 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
6b9e39af59a3efeddc309a05adee1bed6a3d0e84a4c37ab5766828947f492d5c
BLAKE2b-256 checksum
How to use checksums
3b2df682c1b93da88db87a30f38b069d0c71f95f831f30c723231d06fa275138
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp315-cp315-musllinux_1_2_aarch64.whl

Download URL obdeect-0.7.2-cp315-cp315-musllinux_1_2_aarch64.whl
Size 303.4 kB
Tags CPython 3.15 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
db625c8f197f4d7436fac9e22cf8d98fabaead6da53b28b1746bfa2e10845225
BLAKE2b-256 checksum
How to use checksums
019f525592dc359f458f47a58648214091b57ebfafd117fd333bc0697088b9ef
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL obdeect-0.7.2-cp315-cp315-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 216.0 kB
Tags CPython 3.15 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
411e57158788a5585953820991be9557386940ab2afdeb52b57ec5ec1d4b8c84
BLAKE2b-256 checksum
How to use checksums
2732a10ac828f427120cd518d286b86071c5c58f2b37c2d3e041c803b0880460
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL obdeect-0.7.2-cp315-cp315-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 206.3 kB
Tags CPython 3.15 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
dd140638446fa1ade1ca221444e4ddc3b4cf450d9e0dfd7e7098c715891f3009
BLAKE2b-256 checksum
How to use checksums
82f539c3781c767a570ab58f4ebcfd6cd9e95ae6950e6c255c60cdf41b977874
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp315-cp315-macosx_13_0_arm64.whl

Download URL obdeect-0.7.2-cp315-cp315-macosx_13_0_arm64.whl
Size 195.8 kB
Tags CPython 3.15 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
bd6004e33bccc836127f980ab395830bb41df02b88c4da0b9f4a9fb442824234
BLAKE2b-256 checksum
How to use checksums
de35efbb0e399c3c50f8fa6d887db6c5c880250b784de1d2e89eb97c9ecbaf4e
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL obdeect-0.7.2-cp314-cp314-musllinux_1_2_x86_64.whl
Size 315.4 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
89ac1a707f63417a202d3f168bf90646533cf21220b07d3935f5b1ec302cb64a
BLAKE2b-256 checksum
How to use checksums
74f3e301ea853dd81ac4597d5ff37d2f12bac413789a01b94e02e5325d2c4a1c
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp314-cp314-musllinux_1_2_aarch64.whl

Download URL obdeect-0.7.2-cp314-cp314-musllinux_1_2_aarch64.whl
Size 303.2 kB
Tags CPython 3.14 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
d46ffe12ecb168490b7e79e37ea9d0c4d6afb1c290495a4f82066107181c8d32
BLAKE2b-256 checksum
How to use checksums
91c5f096da346de179ae9f80808460fa2994b1e5b168e02b2db91e73ccdecba9
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL obdeect-0.7.2-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 215.8 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
123e4e43482c39ecaa918fa409150de8804f03df82bae308c8708b956802e245
BLAKE2b-256 checksum
How to use checksums
40c38c15e0ee0920ff994054934c944ec7e13cc435819d33b9f53de0637cd600
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL obdeect-0.7.2-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 206.1 kB
Tags CPython 3.14 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
fb67a9f646238ec4d781923f123866d2e3ca93f012c17c3dafb580fd121b4e19
BLAKE2b-256 checksum
How to use checksums
5075d3741fadd15c11de3acddcda4411a902445637f3d1cadc5313df69268ad5
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 6, 2026.

Transparency log

Release files / obdeect-0.7.2-cp314-cp314-macosx_13_0_arm64.whl

Download URL obdeect-0.7.2-cp314-cp314-macosx_13_0_arm64.whl
Size 195.7 kB
Tags CPython 3.14 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
96a527d08bcc9b8fce54b2ae689ba69f145eca8dcba0bb03da92de97abbaa1d2
BLAKE2b-256 checksum
How to use checksums
678e66983d84a882ce77c29fb8727dcc4204287f73b1f329bcc3803535aa4c62
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 6, 2026.

Transparency log

Security for obdeect 0.7.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

All 11 files in this release have been uploaded with provenance metadata.

Select from 11 files

Attestation for obdeect-0.7.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 6, 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