Metadata-Version: 2.4
Name: obdeect-ray-tracing
Version: 0.8.0
Summary: Ray tracing for imaging atmospheric Cherenkov telescopes
Author: obdeect contributors
License-Expression: BSD-3-Clause
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Programming Language :: C++
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.14
Classifier: Programming Language :: Python :: 3.15
Requires-Python: >=3.14
Requires-Dist: numpy>=2.3
Requires-Dist: obdeect-stream==0.8.0
Provides-Extra: dev
Requires-Dist: nanobind>=3.1; extra == "dev"
Requires-Dist: pre-commit; extra == "dev"
Requires-Dist: pytest; extra == "dev"
Requires-Dist: ruff; extra == "dev"
Provides-Extra: docs
Requires-Dist: myst-parser; extra == "docs"
Requires-Dist: pydata-sphinx-theme; extra == "docs"
Requires-Dist: pyyaml; extra == "docs"
Requires-Dist: sphinx; extra == "docs"
Requires-Dist: sphinx-design; extra == "docs"
Provides-Extra: figures
Requires-Dist: astropy; extra == "figures"
Requires-Dist: matplotlib>=3.8; extra == "figures"
Provides-Extra: plot
Requires-Dist: matplotlib>=3.8; extra == "plot"
Description-Content-Type: text/markdown

# obdeect-ray-tracing

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

```sh
pip install obdeect-ray-tracing  # this component only (also installs obdeect-stream)
pip install obdeect              # all obdeect components
```

Requires Python 3.14 or higher.

## Commands

```sh
obdeect ray-tracing compile --simulation-models ../simulation-models --model MSTN-01 \
  --version 7.0.0 --seed 1 --zenith-deg 20 --output mst.json
obdeect ray-tracing trace --model mst.json --seed 2 --photons 10000 --field-deg 0.5 0
obdeect ray-tracing trace-stream --model mst.json --seed 7 -i ground.ps -o camera.ps
obdeect ray-tracing obscurers ...
obdeect ray-tracing plot ...
```

Full documentation and the repository README: https://github.com/gammasim/obdeect
