Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

obdeect

Obdeect optical ray tracing for imaging atmospheric Cherenkov telescopes

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

(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-dev 0.4.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-dev 0.4.0
File Size Uploaded Provenance Actions
obdeect_dev-0.4.0.tar.gz 5.3 MB With provenance Details for obdeect_dev-0.4.0.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for obdeect-dev 0.4.0
File Actions
obdeect_dev-0.4.0-cp314-cp314-musllinux_1_2_x86_64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ x86-64 Details for obdeect_dev-0.4.0-cp314-cp314-musllinux_1_2_x86_64.whl
obdeect_dev-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl CPython 3.14 CPython 3.14 Linux musl 1.2+ ARM64 Details for obdeect_dev-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl
obdeect_dev-0.4.0-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_dev-0.4.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
obdeect_dev-0.4.0-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_dev-0.4.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
obdeect_dev-0.4.0-cp314-cp314-macosx_13_0_arm64.whl CPython 3.14 CPython 3.14 macOS 13.0+ ARM64 Details for obdeect_dev-0.4.0-cp314-cp314-macosx_13_0_arm64.whl

Total release size: 6.5 MB

Release files / obdeect_dev-0.4.0.tar.gz

Download URL obdeect_dev-0.4.0.tar.gz
Size 5.3 MB
Tags Source
SHA-256 checksum
How to use checksums
003c0850c9143779e83b414d327e5084d0453f3fc102b39532c3a7cd50245f50
BLAKE2b-256 checksum
How to use checksums
d0e054d88731f6c7f1034764a71627216e8dd633e4c0bf285aa93c3d5d5c8c80
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 Oct 27, 2026.

Transparency log

Release files / obdeect_dev-0.4.0-cp314-cp314-musllinux_1_2_x86_64.whl

Download URL obdeect_dev-0.4.0-cp314-cp314-musllinux_1_2_x86_64.whl
Size 311.5 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
beec85c2fad55edba3a78d0d40283068d400070ec84711082ca9004a707d52cc
BLAKE2b-256 checksum
How to use checksums
577e2677010d5461a5cfca05cbea7c47755b9980608d7a92ca6d6c990ee20ff0
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 Oct 27, 2026.

Transparency log

Release files / obdeect_dev-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl

Download URL obdeect_dev-0.4.0-cp314-cp314-musllinux_1_2_aarch64.whl
Size 299.1 kB
Tags CPython 3.14 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
85b1f2a214e5bdc0aa6b1ac863ee6eb992dea1752eb2a3f4c2fb2add831013e8
BLAKE2b-256 checksum
How to use checksums
6a2b4f906cb951e46104e7a8bdbd15f833711173c5c0633dc1f072ea105f142a
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 Oct 27, 2026.

Transparency log

Release files / obdeect_dev-0.4.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl

Download URL obdeect_dev-0.4.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 211.7 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
91a1518a753bd4c3319d5389f5041fb5d10e13c201f43581327514af5aebaa62
BLAKE2b-256 checksum
How to use checksums
354419f55b20a13cc6b42b81aa8b58a5e4988ce91bd8c22a64d9cb09981ccd25
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 Oct 27, 2026.

Transparency log

Release files / obdeect_dev-0.4.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl

Download URL obdeect_dev-0.4.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 202.1 kB
Tags CPython 3.14 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
c8ec6325c03baa8f69317f63b6f0e2fa3fc477243bdc9f41b83f8cc1427d5f2e
BLAKE2b-256 checksum
How to use checksums
61980c09a49bc567ea76e7f48c3b93e2d0b86c68f2dfd9b9aee68c0512a701f0
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 Oct 27, 2026.

Transparency log

Release files / obdeect_dev-0.4.0-cp314-cp314-macosx_13_0_arm64.whl

Download URL obdeect_dev-0.4.0-cp314-cp314-macosx_13_0_arm64.whl
Size 191.5 kB
Tags CPython 3.14 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
75792b39d057aa9d1f934522cc9002df1cd7a8c861cd1a85f47a6758c01aa17e
BLAKE2b-256 checksum
How to use checksums
aa22782f72d0ed11c0911f5ecfbf25633ce22b5afc8d25103a195c174f3077fc
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 Oct 27, 2026.

Transparency log

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

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

Select from 6 files

Attestation for obdeect_dev-0.4.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 Oct 27, 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