obdeect 0.8.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: obdeect
|
|
3
|
+
Version: 0.8.0
|
|
4
|
+
Summary: Cherenkov-telescope light simulation: all obdeect components
|
|
5
|
+
Author: obdeect contributors
|
|
6
|
+
License-Expression: BSD-3-Clause
|
|
7
|
+
License-File: LICENSE
|
|
8
|
+
Classifier: Development Status :: 3 - Alpha
|
|
9
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
10
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
12
|
+
Requires-Python: >=3.14
|
|
13
|
+
Requires-Dist: obdeect-propagation==0.8.0
|
|
14
|
+
Requires-Dist: obdeect-ray-tracing==0.8.0
|
|
15
|
+
Requires-Dist: obdeect-sources==0.8.0
|
|
16
|
+
Requires-Dist: obdeect-stream==0.8.0
|
|
17
|
+
Description-Content-Type: text/markdown
|
|
18
|
+
|
|
19
|
+
# obdeect
|
|
20
|
+
|
|
21
|
+
obdeect is a simulation chain for imaging atmospheric Cherenkov telescopes. The chain is
|
|
22
|
+
made of modules that exchange photons as photon streams: light sources or CORSIKA air
|
|
23
|
+
showers, the atmosphere, telescope optics, and the camera simulation in sim_telarray, which
|
|
24
|
+
is reached through `obdeect stream to-simtel`. The repository [simtools](https://github.com/gammasim/simtools)
|
|
25
|
+
configures and runs the chain.
|
|
26
|
+
|
|
27
|
+
| Component | Package | Command |
|
|
28
|
+
|---|---|---|
|
|
29
|
+
| photon stream | `obdeect-stream` | `obdeect stream ...` |
|
|
30
|
+
| atmospheric propagation | `obdeect-propagation` | `obdeect propagation ...` |
|
|
31
|
+
| light sources | `obdeect-sources` | `obdeect sources ...` |
|
|
32
|
+
| ray tracing | `obdeect-ray-tracing` | `obdeect ray-tracing ...` |
|
|
33
|
+
|
|
34
|
+
## Install
|
|
35
|
+
|
|
36
|
+
```sh
|
|
37
|
+
pip install obdeect # all components at one version
|
|
38
|
+
pip install obdeect-sources # one component (also installs obdeect-stream)
|
|
39
|
+
obdeect --version # installed components and photon-stream format version
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
Requires Python 3.14 or higher.
|
|
43
|
+
|
|
44
|
+
## Example
|
|
45
|
+
|
|
46
|
+
Flasher light on the dish, propagated through the atmosphere, traced through a telescope
|
|
47
|
+
optical model, and written as sim_telarray input:
|
|
48
|
+
|
|
49
|
+
```sh
|
|
50
|
+
obdeect sources flasher --type dish --photons 1e6 \
|
|
51
|
+
| obdeect propagation run --transmission atm.dat --site-altitude 2156 --seed 1 -i - -o - \
|
|
52
|
+
| obdeect ray-tracing trace-stream --model telescope.json --seed 7 \
|
|
53
|
+
| obdeect stream to-simtel --camera-map cam.txt > sim.simtel
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
`obdeect stream to-simtel` prints the sim_telarray option (`Bypass_Optics`) to use for the
|
|
57
|
+
file.
|
|
58
|
+
|
|
59
|
+
## Build from source
|
|
60
|
+
|
|
61
|
+
```sh
|
|
62
|
+
cmake -S . -B build && cmake --build build && ctest --test-dir build
|
|
63
|
+
pip install ./src/stream ./src/propagation ./src/sources ./src/ray_tracing
|
|
64
|
+
for c in stream propagation sources ray_tracing; do pytest src/$c/python/tests; done
|
|
65
|
+
pytest validation # end-to-end chain
|
|
66
|
+
```
|
|
67
|
+
|
|
68
|
+
Requires Python 3.14 or higher, a C++20 compiler, and CMake 3.20 or higher.
|
|
69
|
+
|
|
70
|
+
## Status
|
|
71
|
+
|
|
72
|
+
Alpha. The ray tracing component is pre-alpha.
|
|
73
|
+
|
|
74
|
+
## License
|
|
75
|
+
|
|
76
|
+
BSD-3-Clause. See [LICENSE](LICENSE) and [CITATION.cff](CITATION.cff).
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
obdeect-0.8.0.dist-info/METADATA,sha256=pCyiBNFZR-D3plYmat1s1eZSZTWhWPcFW8ek6FE41jE,2718
|
|
2
|
+
obdeect-0.8.0.dist-info/WHEEL,sha256=7lN9i1o6O68VhHgIs7tcNr0yhH3BAyPLUWFg744NJ0Q,95
|
|
3
|
+
obdeect-0.8.0.dist-info/licenses/LICENSE,sha256=O1LWVtc_1iH72qAKqiuqPini23q_rmjUwvCVwyWL_os,1549
|
|
4
|
+
obdeect-0.8.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
BSD 3-Clause License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026, obdeect contributors, Gernot Maier (DESY)
|
|
4
|
+
All rights reserved.
|
|
5
|
+
|
|
6
|
+
Redistribution and use in source and binary forms, with or without
|
|
7
|
+
modification, are permitted provided that the following conditions are met:
|
|
8
|
+
|
|
9
|
+
1. Redistributions of source code must retain the above copyright notice, this
|
|
10
|
+
list of conditions and the following disclaimer.
|
|
11
|
+
|
|
12
|
+
2. Redistributions in binary form must reproduce the above copyright notice,
|
|
13
|
+
this list of conditions and the following disclaimer in the documentation
|
|
14
|
+
and/or other materials provided with the distribution.
|
|
15
|
+
|
|
16
|
+
3. Neither the name of the copyright holder nor the names of its
|
|
17
|
+
contributors may be used to endorse or promote products derived from
|
|
18
|
+
this software without specific prior written permission.
|
|
19
|
+
|
|
20
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
21
|
+
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
22
|
+
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
|
23
|
+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
|
24
|
+
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
|
25
|
+
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
|
26
|
+
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
|
27
|
+
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
|
28
|
+
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
|
29
|
+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|