Metadata-Version: 2.4
Name: obdeect-stream
Version: 0.8.0
Summary: Photon-stream format and I/O for Cherenkov-telescope simulation chains
Author: obdeect contributors
License-Expression: BSD-3-Clause
Classifier: Development Status :: 3 - 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
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"
Provides-Extra: plot
Requires-Dist: matplotlib>=3.8; extra == "plot"
Description-Content-Type: text/markdown

# obdeect-stream

Photon-stream format and I/O for Cherenkov-telescope simulation chains. A versioned, columnar
photon-stream format with a C++20 reader and writer (standard library only), a Python API, and
adapters from CORSIKA IACT output and to sim_telarray input. Modules of the chain exchange
photons as photon streams.

```sh
pip install obdeect-stream      # this component only
pip install obdeect             # all obdeect components
```

Requires Python 3.14 or higher.

## Commands

```sh
obdeect stream cat [FILE ...]               # concatenate streams; --summary for record counts
obdeect stream tee FILE                     # copy a stream passing through
obdeect stream from-corsika < run.iact      # CORSIKA IACT EventIO to photon stream
obdeect stream to-simtel --camera-map cam.txt run.ps > sim.simtel   # photon stream to sim_telarray input
obdeect stream to-grisu --telescope-config TLLOC.dat run.ps > run.grisu  # GrISU photon text
```

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