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

Built distributions (wheels)

Table of built distributions (wheels) for obdeect-dev 0.2.0
File Interpreter ABI Platform Actions
obdeect_dev-0.2.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.2.0-cp314-cp314-musllinux_1_2_x86_64.whl
obdeect_dev-0.2.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.2.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
obdeect_dev-0.2.0-cp314-cp314-macosx_13_0_arm64.whl CPython 3.14 CPython 3.14 macOS 13.0+ ARM64 Details for obdeect_dev-0.2.0-cp314-cp314-macosx_13_0_arm64.whl

Total release size: 4.7 MB

Release files / obdeect_dev-0.2.0.tar.gz

Download URL obdeect_dev-0.2.0.tar.gz
Size 4.2 MB
Tags Source
SHA-256 checksum
How to use checksums
f5bfb10a5f8cad5eb9962aa46b27e6e762dc15636cab3caa837c2183ea99584f
BLAKE2b-256 checksum
How to use checksums
0eaa80daeddc65dae533da9b898877524c120733f522da8218971d257ccab3ba
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 22, 2026.

Transparency log

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

Download URL obdeect_dev-0.2.0-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
48fa25984dd9fc04a23a4f5491a363490e9d817fc158a50d0e0aef2987c51904
BLAKE2b-256 checksum
How to use checksums
b11705bd3b48fa1041a02a12f9cba76d661064e100271b029872328dd3ab462d
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 22, 2026.

Transparency log

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

Download URL obdeect_dev-0.2.0-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
1c3ee5f870cdebae8343e84e0926b2f84c835bf9514ab27f4ada3c2ccb244835
BLAKE2b-256 checksum
How to use checksums
a6b5d69aace209b2f5a4e28c1abd59ae25fcf97d2e58cf6231117fe5e5fad5c0
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 22, 2026.

Transparency log

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

Download URL obdeect_dev-0.2.0-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
443be07e1e157b79782232100ca5750e2d7de5c8efd6d1bb3f34477e7b38cbe7
BLAKE2b-256 checksum
How to use checksums
9cd5b0fe8c9095ef80baa8e014738dcc00c06f912a0b9f2995ea901b27638d63
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 22, 2026.

Transparency log

Security for obdeect-dev 0.2.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 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for obdeect_dev-0.2.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 22, 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