This project has been archived by its maintainers, and is no longer receiving any updates.
obdeect
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.
Metadata
Release files for obdeect-dev 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| obdeect_dev-0.3.0.tar.gz | 4.2 MB | With provenance | Details for obdeect_dev-0.3.0.tar.gz |
Built distributions (wheels)
Total release size: 5.2 MB
Release files / obdeect_dev-0.3.0.tar.gz
| Download URL | obdeect_dev-0.3.0.tar.gz |
|---|---|
| Size | 4.2 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
357983e6412201b3431ed629a592990b9cdb1b7fdfd10c48d95325209cdea225
|
|
BLAKE2b-256 checksum How to use checksums |
0de898a58d92a18296fe52c518b7181af3ecc87d1ef73ea7562463da575089aa
|
| 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 23, 2026.
Transparency logRelease files / obdeect_dev-0.3.0-cp314-cp314-musllinux_1_2_x86_64.whl
| Download URL | obdeect_dev-0.3.0-cp314-cp314-musllinux_1_2_x86_64.whl |
|---|---|
| Size | 267.5 kB |
| Tags | CPython 3.14 Linux musl 1.2+ x86-64 |
|
SHA-256 checksum How to use checksums |
021f85077de0bbf7a02c9f994d3cdaf4e0a89eac68144153e75bf665b7dbd35c
|
|
BLAKE2b-256 checksum How to use checksums |
c44fe1aee6dbdb8115bb278da8f762b508f35bc91078ec7998496c5e75474244
|
| 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 23, 2026.
Transparency logRelease files / obdeect_dev-0.3.0-cp314-cp314-musllinux_1_2_aarch64.whl
| Download URL | obdeect_dev-0.3.0-cp314-cp314-musllinux_1_2_aarch64.whl |
|---|---|
| Size | 258.7 kB |
| Tags | CPython 3.14 Linux musl 1.2+ ARM64 |
|
SHA-256 checksum How to use checksums |
f368525f5a0adbcacc6bc99fcd33165cb97b864df9735baf68e8c41631ba2d2a
|
|
BLAKE2b-256 checksum How to use checksums |
0e7bb20f1adb7bef4a160193ac490f78188e9f19ecc76121dca927f4766eb221
|
| 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 23, 2026.
Transparency logRelease files / obdeect_dev-0.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
| Download URL | obdeect_dev-0.3.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl |
|---|---|
| Size | 169.2 kB |
| Tags | CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64 |
|
SHA-256 checksum How to use checksums |
682dc8a40f0a4930064303704ad5f7e33ac9253022a132e3acfa333b1fc3aa0d
|
|
BLAKE2b-256 checksum How to use checksums |
1d94dbd5248cc633d0240161ceb598b1c2150871fa7baf095a5162a2b0a5f79c
|
| 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 23, 2026.
Transparency logRelease files / obdeect_dev-0.3.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
| Download URL | obdeect_dev-0.3.0-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl |
|---|---|
| Size | 162.6 kB |
| Tags | CPython 3.14 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64 |
|
SHA-256 checksum How to use checksums |
c01bee5c05493cd40e89ee00e5976c9e39a3cf68111ed7d0244a0ad65fcdefe0
|
|
BLAKE2b-256 checksum How to use checksums |
e3fd29061f60f91e371e2fd6b7e3b9b9b138b0b35c789b5e82561a18c7fdc6e8
|
| 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 23, 2026.
Transparency logRelease files / obdeect_dev-0.3.0-cp314-cp314-macosx_13_0_arm64.whl
| Download URL | obdeect_dev-0.3.0-cp314-cp314-macosx_13_0_arm64.whl |
|---|---|
| Size | 147.8 kB |
| Tags | CPython 3.14 macOS 13.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
e2ea091f1dec2b6b571307ac38e62eaacb52390a01ff33dfb2f172e420f35b22
|
|
BLAKE2b-256 checksum How to use checksums |
6848b82a9eec0ed447cd1fdfc0812e73179d661e679e919d83262f171aab2191
|
| 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 23, 2026.
Transparency logSecurity for obdeect-dev 0.3.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.
Attestation for obdeect_dev-0.3.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 23, 2026.
Transparency logA 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.