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) 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.2.1

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.2.1
File Size Uploaded Provenance Actions
obdeect_dev-0.2.1.tar.gz 4.2 MB With provenance Details for obdeect_dev-0.2.1.tar.gz

Built distributions (wheels)

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

Total release size: 5.1 MB

Release files / obdeect_dev-0.2.1.tar.gz

Download URL obdeect_dev-0.2.1.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
64eeda62401f3600872f05692b53af6c639053087d7c6cb6bba8a041031b4104
BLAKE2b-256 checksum
How to use checksums
0af577403a28f15ff4e8521955df0e343afddf4e5df1541082ca1e742f739100
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 log

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

Download URL obdeect_dev-0.2.1-cp314-cp314-musllinux_1_2_x86_64.whl
Size 259.5 kB
Tags CPython 3.14 Linux musl 1.2+ x86-64
SHA-256 checksum
How to use checksums
3020d68b5d6705e1375d9b4af7b574d70b0be9ac66b4151d948e5880b5c0d15a
BLAKE2b-256 checksum
How to use checksums
594502d7e1c0d210d46db53c1a4f91e621d37ce302ff8e37e3347773b0282ddf
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 log

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

Download URL obdeect_dev-0.2.1-cp314-cp314-musllinux_1_2_aarch64.whl
Size 250.6 kB
Tags CPython 3.14 Linux musl 1.2+ ARM64
SHA-256 checksum
How to use checksums
8af439ba6ede7be7e422086cd40e30a38aac9f4b26b0d0d72ddab24076b2c4b3
BLAKE2b-256 checksum
How to use checksums
f66ffac0b97d27fc59435f25800b41f3c8c1460d33fd7bbf6d6a4d02cf53d203
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 log

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

Download URL obdeect_dev-0.2.1-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Size 161.1 kB
Tags CPython 3.14 Linux glibc 2.27+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
42732ef9463bf11161ecb6ae657e051726ae7fcb9ec66f9b0baf74b75b574420
BLAKE2b-256 checksum
How to use checksums
69069f1959992fc802c832851c28a4f188da90da11b22985f812dd727b414723
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 log

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

Download URL obdeect_dev-0.2.1-cp314-cp314-manylinux_2_26_aarch64.manylinux_2_28_aarch64.whl
Size 154.5 kB
Tags CPython 3.14 Linux glibc 2.26+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
bdb038175587c82221be7527d9d600f54fe52a8a20dfba407e51d2c67702a16a
BLAKE2b-256 checksum
How to use checksums
591e6413a33076b7157fe60084d9c8fde273b09d37622e9b3319bede53f741e3
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 log

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

Download URL obdeect_dev-0.2.1-cp314-cp314-macosx_13_0_arm64.whl
Size 139.8 kB
Tags CPython 3.14 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c62045a06fef3cbf28bc07c57590960670d4012c27c91b8a4d70656974286802
BLAKE2b-256 checksum
How to use checksums
12bc27582bc9f93b8b2ccec8a9a7ef68819599c8e62b12c6db71bbc8135708c5
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 log

Security for obdeect-dev 0.2.1

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