obdeect 0.8.0__tar.gz → 0.9.2__tar.gz

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.
Files changed (365) hide show
  1. {obdeect-0.8.0 → obdeect-0.9.2}/.github/workflows/docs.yml +4 -8
  2. {obdeect-0.8.0 → obdeect-0.9.2}/.github/workflows/pypi.yml +22 -30
  3. {obdeect-0.8.0 → obdeect-0.9.2}/.github/workflows/tests.yml +66 -29
  4. {obdeect-0.8.0 → obdeect-0.9.2}/.gitignore +3 -0
  5. {obdeect-0.8.0 → obdeect-0.9.2}/.pre-commit-config.yaml +5 -5
  6. {obdeect-0.8.0 → obdeect-0.9.2}/AGENTS.md +4 -1
  7. {obdeect-0.8.0 → obdeect-0.9.2}/CHANGELOG.md +46 -0
  8. {obdeect-0.8.0 → obdeect-0.9.2}/CITATION.cff +2 -2
  9. {obdeect-0.8.0 → obdeect-0.9.2}/PKG-INFO +18 -16
  10. {obdeect-0.8.0 → obdeect-0.9.2}/README.md +13 -11
  11. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/obdeect.css +16 -0
  12. obdeect-0.9.2/docs/index.md +155 -0
  13. obdeect-0.9.2/docs/propagation/curvature.md +303 -0
  14. obdeect-0.9.2/docs/propagation/extinction.md +104 -0
  15. obdeect-0.9.2/docs/propagation/index.md +77 -0
  16. obdeect-0.9.2/docs/propagation/legacy-tables.md +35 -0
  17. {obdeect-0.8.0 → obdeect-0.9.2}/docs/propagation/propagation.md +69 -34
  18. {obdeect-0.8.0 → obdeect-0.9.2}/docs/propagation/refraction.md +20 -15
  19. {obdeect-0.8.0 → obdeect-0.9.2}/docs/propagation/scattering.md +17 -34
  20. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/VALIDATION.md +1 -1
  21. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/air-shower-photons.md +7 -5
  22. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/batch-tracing.md +15 -10
  23. obdeect-0.9.2/docs/ray-tracing/index.md +103 -0
  24. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/optics.md +2 -4
  25. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/photon-stream.md +26 -21
  26. obdeect-0.9.2/docs/sources/index.md +119 -0
  27. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/programs/beam-scan.md +1 -7
  28. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/programs/flasher.md +3 -17
  29. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/programs/laser-beam.md +3 -9
  30. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/programs/led.md +1 -8
  31. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/programs/muon-track.md +7 -8
  32. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/programs/night-sky.md +1 -10
  33. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/programs/point-source.md +2 -10
  34. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/sources.md +10 -13
  35. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/background.md +3 -2
  36. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/conventions.md +2 -1
  37. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/distributions.md +4 -4
  38. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/index.md +8 -10
  39. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/python-api.md +2 -2
  40. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/sky-sources.md +2 -1
  41. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/source-core.md +4 -4
  42. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/stream-writer.md +5 -3
  43. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/tool-beam-scan.md +2 -2
  44. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/tool-flasher.md +2 -13
  45. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/tool-laser-beam.md +2 -12
  46. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/tool-led.md +2 -12
  47. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/tool-muon-track.md +2 -17
  48. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/tool-night-sky.md +2 -12
  49. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/tool-point-source.md +2 -12
  50. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/track.md +1 -1
  51. obdeect-0.9.2/docs/stream/command-line.md +123 -0
  52. obdeect-0.9.2/docs/stream/efficiency-status.md +53 -0
  53. {obdeect-0.8.0 → obdeect-0.9.2}/docs/stream/format.md +12 -70
  54. obdeect-0.9.2/docs/stream/grisu.md +60 -0
  55. obdeect-0.9.2/docs/stream/index.md +81 -0
  56. obdeect-0.9.2/docs/stream/programming.md +173 -0
  57. obdeect-0.9.2/docs/stream/random-numbers.md +55 -0
  58. obdeect-0.9.2/docs/test_release_metadata.py +38 -0
  59. obdeect-0.9.2/docs/user-guide/index.md +41 -0
  60. obdeect-0.9.2/docs/user-guide/installation.md +64 -0
  61. obdeect-0.9.2/docs/user-guide/pipelines.md +93 -0
  62. obdeect-0.9.2/docs/user-guide/quickstart.md +41 -0
  63. {obdeect-0.8.0 → obdeect-0.9.2}/pyproject.toml +14 -8
  64. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/CMakeLists.txt +18 -5
  65. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/README.md +1 -1
  66. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/bindings/propagator_bindings.hpp +30 -3
  67. obdeect-0.9.2/src/propagation/cpp/include/obdeect/propagation/curved_refraction.hpp +354 -0
  68. obdeect-0.9.2/src/propagation/cpp/include/obdeect/propagation/extinction.hpp +136 -0
  69. obdeect-0.9.2/src/propagation/cpp/include/obdeect/propagation/parallel.hpp +67 -0
  70. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/pipeline.hpp +36 -16
  71. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/profile.hpp +11 -35
  72. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/propagator.hpp +299 -69
  73. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/scattering.hpp +7 -9
  74. obdeect-0.9.2/src/propagation/cpp/include/obdeect/propagation/sky.hpp +351 -0
  75. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/thinning.hpp +44 -26
  76. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/transmission.hpp +163 -19
  77. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/wavelength.hpp +16 -13
  78. obdeect-0.9.2/src/propagation/cpp/tests/test_curvature.cpp +490 -0
  79. obdeect-0.9.2/src/propagation/cpp/tests/test_curvature_modes.cpp +1199 -0
  80. obdeect-0.9.2/src/propagation/cpp/tests/test_curved_refraction.cpp +354 -0
  81. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_physics.cpp +1 -1
  82. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_pipeline.cpp +60 -10
  83. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_profile.cpp +1 -1
  84. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_propagator.cpp +80 -45
  85. obdeect-0.9.2/src/propagation/cpp/tests/test_telescopes.cpp +304 -0
  86. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_thinning.cpp +3 -6
  87. obdeect-0.9.2/src/propagation/cpp/tools/propagate.cpp +329 -0
  88. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/pyproject.toml +9 -4
  89. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/obdeect/propagation/propagation.py +48 -8
  90. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/tests/test_extinction.py +11 -3
  91. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/tests/test_propagate.py +462 -110
  92. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/CMakeLists.txt +9 -3
  93. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/README.md +1 -1
  94. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/bunches.hpp +5 -6
  95. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/json.hpp +2 -11
  96. obdeect-0.9.2/src/ray_tracing/cpp/include/obdeect/ray_tracing/vec.hpp +34 -0
  97. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/tests/test_trace.cpp +40 -0
  98. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/pyproject.toml +9 -4
  99. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/cli.py +45 -4
  100. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/compiler.py +3 -1
  101. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/model.py +112 -26
  102. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/stream.py +204 -70
  103. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/tests/test_bunches.py +73 -10
  104. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/tests/test_compiler.py +5 -0
  105. obdeect-0.9.2/src/ray_tracing/python/tests/test_propagation.py +60 -0
  106. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/tests/test_stream.py +369 -59
  107. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/CMakeLists.txt +14 -3
  108. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/background.hpp +1 -1
  109. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/cli.hpp +17 -40
  110. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/density.hpp +18 -3
  111. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/emission_stream.hpp +1 -0
  112. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/programs/led.hpp +1 -1
  113. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/programs/muon-track.hpp +5 -8
  114. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/programs/point-source.hpp +5 -5
  115. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/programs/stream_output.hpp +2 -6
  116. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/sky_sources.hpp +64 -18
  117. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/source.hpp +8 -3
  118. obdeect-0.9.2/src/sources/cpp/include/obdeect/sources/vec3.hpp +27 -0
  119. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_flasher.cpp +1 -1
  120. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_muon-track.cpp +1 -0
  121. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_night-sky.cpp +47 -2
  122. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_point-source.cpp +23 -0
  123. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tools/beam-scan.cpp +6 -6
  124. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tools/flasher.cpp +1 -2
  125. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tools/laser-beam.cpp +12 -12
  126. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tools/led.cpp +3 -4
  127. obdeect-0.9.2/src/sources/cpp/tools/muon-track.cpp +37 -0
  128. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tools/night-sky.cpp +9 -9
  129. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tools/point-source.cpp +12 -10
  130. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tools/sky_args.hpp +3 -4
  131. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tools/tool_args.hpp +19 -31
  132. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/pyproject.toml +9 -4
  133. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/CMakeLists.txt +4 -4
  134. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/README.md +2 -2
  135. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/bench/bench_stream.cpp +1 -1
  136. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/bindings/core.cpp +38 -3
  137. obdeect-0.9.2/src/stream/cpp/include/obdeect/stream/atmprof.hpp +76 -0
  138. obdeect-0.9.2/src/stream/cpp/include/obdeect/stream/cli.hpp +116 -0
  139. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/constants.hpp +3 -0
  140. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/corsika.hpp +41 -22
  141. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/eventio.hpp +2 -0
  142. obdeect-0.9.2/src/stream/cpp/include/obdeect/stream/parse.hpp +57 -0
  143. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/simtel.hpp +76 -97
  144. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/stream.hpp +29 -2
  145. obdeect-0.9.2/src/stream/cpp/include/obdeect/stream/telpos.hpp +15 -0
  146. {obdeect-0.8.0/src/sources/cpp/include/obdeect/sources → obdeect-0.9.2/src/stream/cpp/include/obdeect/stream}/vec3.hpp +5 -10
  147. obdeect-0.9.2/src/stream/cpp/include/obdeect/stream/wavelength.hpp +15 -0
  148. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/data/conformance/expected.json +5 -5
  149. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/data/conformance/make_conformance.py +11 -11
  150. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_capi.c +69 -46
  151. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_capi_cpp.cpp +5 -5
  152. obdeect-0.9.2/src/stream/cpp/tests/test_cli.cpp +81 -0
  153. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_corsika.cpp +49 -10
  154. obdeect-0.9.2/src/stream/cpp/tests/test_parse.cpp +41 -0
  155. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_simtel.cpp +149 -43
  156. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_stream.cpp +66 -0
  157. obdeect-0.9.2/src/stream/cpp/tests/test_wavelength.cpp +49 -0
  158. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tools/corsika2ps.cpp +19 -30
  159. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tools/ps2grisu.cpp +32 -60
  160. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tools/ps2simtel.cpp +32 -49
  161. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tools/ps_cat.cpp +22 -28
  162. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tools/ps_tee.cpp +20 -23
  163. obdeect-0.9.2/src/stream/cpp/tools/tool_version.hpp +16 -0
  164. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/pyproject.toml +3 -1
  165. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/obdeect/stream/cli.py +17 -2
  166. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/obdeect/stream/convert.py +13 -5
  167. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/obdeect/stream/stage.py +10 -7
  168. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/obdeect/stream/stream.py +19 -2
  169. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/tests/test_cli.py +19 -1
  170. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/tests/test_convert.py +101 -30
  171. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/tests/test_grisu.py +5 -5
  172. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/tests/test_stage.py +61 -18
  173. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/tests/test_stream.py +48 -19
  174. obdeect-0.8.0/.editorconfig +0 -12
  175. obdeect-0.8.0/docs/index.md +0 -81
  176. obdeect-0.8.0/docs/installation.md +0 -47
  177. obdeect-0.8.0/docs/propagation/extinction.md +0 -130
  178. obdeect-0.8.0/docs/propagation/index.md +0 -20
  179. obdeect-0.8.0/docs/ray-tracing/index.md +0 -61
  180. obdeect-0.8.0/docs/ray-tracing/installation.md +0 -21
  181. obdeect-0.8.0/docs/ray-tracing/user-guide.md +0 -16
  182. obdeect-0.8.0/docs/sources/index.md +0 -28
  183. obdeect-0.8.0/docs/sources/sim_telarray.md +0 -54
  184. obdeect-0.8.0/docs/sources/spec/tests.md +0 -117
  185. obdeect-0.8.0/docs/stream/index.md +0 -10
  186. obdeect-0.8.0/docs/stream/usage.md +0 -311
  187. obdeect-0.8.0/src/propagation/cpp/include/obdeect/propagation/extinction.hpp +0 -56
  188. obdeect-0.8.0/src/propagation/cpp/include/obdeect/propagation/sky.hpp +0 -151
  189. obdeect-0.8.0/src/propagation/cpp/tools/propagate.cpp +0 -277
  190. obdeect-0.8.0/src/ray_tracing/cpp/include/obdeect/ray_tracing/vec.hpp +0 -44
  191. obdeect-0.8.0/src/ray_tracing/python/tests/test_propagation.py +0 -31
  192. obdeect-0.8.0/src/sources/cpp/tools/muon-track.cpp +0 -35
  193. obdeect-0.8.0/src/stream/cpp/tools/tool_version.hpp +0 -17
  194. obdeect-0.8.0/src/stream/python/tests/test_validation_script.py +0 -37
  195. obdeect-0.8.0/validation/README.md +0 -22
  196. obdeect-0.8.0/validation/sources/compare-led-camera.txt +0 -7
  197. obdeect-0.8.0/validation/sources/compare_flasher-dish.sh +0 -12
  198. obdeect-0.8.0/validation/sources/compare_flasher-secondary.sh +0 -13
  199. obdeect-0.8.0/validation/sources/compare_led.sh +0 -13
  200. obdeect-0.8.0/validation/sources/compare_stream.py +0 -105
  201. obdeect-0.8.0/validation/sources/summarize_iact.py +0 -34
  202. obdeect-0.8.0/validation/stream/validate_container.sh +0 -245
  203. obdeect-0.8.0/validation/test_chain.py +0 -111
  204. {obdeect-0.8.0 → obdeect-0.9.2}/.clang-format +0 -0
  205. {obdeect-0.8.0 → obdeect-0.9.2}/.clang-tidy +0 -0
  206. {obdeect-0.8.0 → obdeect-0.9.2}/.gitattributes +0 -0
  207. {obdeect-0.8.0 → obdeect-0.9.2}/.github/dependabot.yml +0 -0
  208. {obdeect-0.8.0 → obdeect-0.9.2}/.github/workflows/changelog.yml +0 -0
  209. {obdeect-0.8.0 → obdeect-0.9.2}/.github/workflows/ci.yml +0 -0
  210. {obdeect-0.8.0 → obdeect-0.9.2}/CMakeLists.txt +0 -0
  211. {obdeect-0.8.0 → obdeect-0.9.2}/CMakePresets.json +0 -0
  212. {obdeect-0.8.0 → obdeect-0.9.2}/LICENSE +0 -0
  213. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/figures/baffle_area.png +0 -0
  214. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/figures/mst_shadowing.png +0 -0
  215. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/figures/telescope_lst.png +0 -0
  216. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/figures/telescope_mst_flashcam.png +0 -0
  217. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/figures/telescope_mst_nectarcam.png +0 -0
  218. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/figures/telescope_sct.png +0 -0
  219. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/figures/telescope_sst.png +0 -0
  220. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/figures/telescopes-provenance.json +0 -0
  221. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/figures/validation_psf_area.png +0 -0
  222. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/images/obdeect_21ratio_large.jpg +0 -0
  223. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/images/obdeect_21ratio_small.jpg +0 -0
  224. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/images/obdeect_large.jpg +0 -0
  225. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/images/obdeect_logo.jpg +0 -0
  226. {obdeect-0.8.0 → obdeect-0.9.2}/docs/_static/images/obdeect_small.jpg +0 -0
  227. {obdeect-0.8.0 → obdeect-0.9.2}/docs/build_versions.py +0 -0
  228. {obdeect-0.8.0 → obdeect-0.9.2}/docs/changelog.md +0 -0
  229. {obdeect-0.8.0 → obdeect-0.9.2}/docs/changes/.gitkeep +0 -0
  230. {obdeect-0.8.0 → obdeect-0.9.2}/docs/conf.py +0 -0
  231. {obdeect-0.8.0 → obdeect-0.9.2}/docs/figures/make_figures.py +0 -0
  232. {obdeect-0.8.0 → obdeect-0.9.2}/docs/figures/telescopes.yml +0 -0
  233. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/analysis-v0.7.2.md +0 -0
  234. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/api.md +0 -0
  235. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/light-sources.md +0 -0
  236. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/limitations.md +0 -0
  237. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/optical-elements.md +0 -0
  238. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/optical-models.md +0 -0
  239. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/python-guide.md +0 -0
  240. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/shadowing.md +0 -0
  241. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/telescopes.md +0 -0
  242. {obdeect-0.8.0 → obdeect-0.9.2}/docs/ray-tracing/usage.md +0 -0
  243. {obdeect-0.8.0 → obdeect-0.9.2}/docs/sources/spec/cli-conventions.md +0 -0
  244. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/bindings/core.cpp +0 -0
  245. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/bindings/extinction_bindings.hpp +0 -0
  246. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/bindings/profile_bindings.hpp +0 -0
  247. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/bindings/scattering_bindings.hpp +0 -0
  248. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/refraction.hpp +0 -0
  249. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/streams.hpp +0 -0
  250. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/timing.hpp +0 -0
  251. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/include/obdeect/propagation/version.hpp +0 -0
  252. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/data/atm_trans_2000_1_10_0_0_2000.dat +0 -0
  253. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/data/atmprof_ecmwf_north_winter_fixed.dat +0 -0
  254. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/data/scattering_exponential.dat +0 -0
  255. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_refraction.cpp +0 -0
  256. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_scattering.cpp +0 -0
  257. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_stream_contract.cpp +0 -0
  258. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_timing.cpp +0 -0
  259. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_transmission.cpp +0 -0
  260. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/cpp/tests/test_version.cpp +0 -0
  261. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/obdeect/propagation/__init__.py +0 -0
  262. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/obdeect/propagation/cli.py +0 -0
  263. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/obdeect/propagation/convert.py +0 -0
  264. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/obdeect/propagation/extinction.py +0 -0
  265. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/obdeect/propagation/profile.py +0 -0
  266. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/obdeect/propagation/scattering.py +0 -0
  267. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/tests/test_convert.py +0 -0
  268. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/tests/test_import.py +0 -0
  269. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/tests/test_profile.py +0 -0
  270. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/tests/test_scattering.py +0 -0
  271. {obdeect-0.8.0 → obdeect-0.9.2}/src/propagation/python/tests/test_stream_contract.py +0 -0
  272. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/bench/bench_trace.cpp +0 -0
  273. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/bench/replay.cpp +0 -0
  274. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/bench/replay_compare.hpp +0 -0
  275. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/bindings/README.md +0 -0
  276. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/bindings/core.cpp +0 -0
  277. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/bounds.hpp +0 -0
  278. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/model.hpp +0 -0
  279. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/model_json.hpp +0 -0
  280. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/obscurers.hpp +0 -0
  281. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/random.hpp +0 -0
  282. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/source.hpp +0 -0
  283. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/surfaces.hpp +0 -0
  284. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/table.hpp +0 -0
  285. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/include/obdeect/ray_tracing/trace.hpp +0 -0
  286. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/tests/data/make_polynomial_reference.py +0 -0
  287. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/tests/legacy_asphere.hpp +0 -0
  288. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/tests/test_asphere_steps.cpp +0 -0
  289. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/tests/test_bounds.cpp +0 -0
  290. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/tests/test_kernels.cpp +0 -0
  291. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/tests/test_model_json.cpp +0 -0
  292. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/cpp/tests/test_replay_compare.cpp +0 -0
  293. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/__init__.py +0 -0
  294. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/formats.py +0 -0
  295. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/plot.py +0 -0
  296. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/propagation.py +0 -0
  297. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/psf.py +0 -0
  298. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/repository.py +0 -0
  299. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/obdeect/ray_tracing/simtel_tables.py +0 -0
  300. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/tests/telescopes.py +0 -0
  301. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/tests/test_axes_offset.py +0 -0
  302. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/tests/test_docs_versions.py +0 -0
  303. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/tests/test_formats.py +0 -0
  304. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/tests/test_model.py +0 -0
  305. {obdeect-0.8.0 → obdeect-0.9.2}/src/ray_tracing/python/tests/test_release_metadata.py +0 -0
  306. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/README.md +0 -0
  307. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/bindings/core.cpp +0 -0
  308. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/programs/beam-scan.hpp +0 -0
  309. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/programs/flasher.hpp +0 -0
  310. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/programs/laser-beam.hpp +0 -0
  311. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/programs/night-sky.hpp +0 -0
  312. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/streams.hpp +0 -0
  313. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/track.hpp +0 -0
  314. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/include/obdeect/sources/version.hpp +0 -0
  315. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/program_stream.hpp +0 -0
  316. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/sky_stream_check.hpp +0 -0
  317. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_beam-scan.cpp +0 -0
  318. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_density.cpp +0 -0
  319. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_laser-beam.cpp +0 -0
  320. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_led.cpp +0 -0
  321. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_sky_args.cpp +0 -0
  322. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_source.cpp +0 -0
  323. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_stream_contract.cpp +0 -0
  324. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tests/test_version.cpp +0 -0
  325. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/cpp/tools/telpos_file.hpp +0 -0
  326. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/python/obdeect/sources/__init__.py +0 -0
  327. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/python/obdeect/sources/cli.py +0 -0
  328. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/python/obdeect/sources/plot.py +0 -0
  329. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/python/obdeect/sources/source.py +0 -0
  330. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/python/tests/test_core_arity.py +0 -0
  331. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/python/tests/test_import.py +0 -0
  332. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/python/tests/test_plot.py +0 -0
  333. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/python/tests/test_source.py +0 -0
  334. {obdeect-0.8.0 → obdeect-0.9.2}/src/sources/python/tests/test_stream_contract.py +0 -0
  335. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cmake/obdeect_stream-config.cmake.in +0 -0
  336. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cmake/version.hpp.in +0 -0
  337. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/bench/gen_corsika.cpp +0 -0
  338. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/capi/obdeect_stream_c.cpp +0 -0
  339. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/format.hpp +0 -0
  340. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/grisu.hpp +0 -0
  341. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/obdeect_stream.h +0 -0
  342. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/photons.hpp +0 -0
  343. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/random.hpp +0 -0
  344. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/stages.hpp +0 -0
  345. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/include/obdeect/stream/stdin_buffer.hpp +0 -0
  346. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/check.hpp +0 -0
  347. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/consumer/CMakeLists.txt +0 -0
  348. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/consumer/main.cpp +0 -0
  349. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/consumer/main_c.c +0 -0
  350. /obdeect-0.8.0/src/stream/cpp/tests/data/conformance/bad_magic.ps → /obdeect-0.9.2/src/stream/cpp/tests/data/conformance/bad_magic.pst +0 -0
  351. /obdeect-0.8.0/src/stream/cpp/tests/data/conformance/too_many_rows.ps → /obdeect-0.9.2/src/stream/cpp/tests/data/conformance/too_many_rows.pst +0 -0
  352. /obdeect-0.8.0/src/stream/cpp/tests/data/conformance/truncated_chunk.ps → /obdeect-0.9.2/src/stream/cpp/tests/data/conformance/truncated_chunk.pst +0 -0
  353. /obdeect-0.8.0/src/stream/cpp/tests/data/conformance/unknown_major.ps → /obdeect-0.9.2/src/stream/cpp/tests/data/conformance/unknown_major.pst +0 -0
  354. /obdeect-0.8.0/src/stream/cpp/tests/data/conformance/valid.ps → /obdeect-0.9.2/src/stream/cpp/tests/data/conformance/valid.pst +0 -0
  355. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_eventio.cpp +0 -0
  356. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_format.cpp +0 -0
  357. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_grisu.cpp +0 -0
  358. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_stages.cpp +0 -0
  359. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/cpp/tests/test_version.cpp +0 -0
  360. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/obdeect/stream/__init__.py +0 -0
  361. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/obdeect/stream/__main__.py +0 -0
  362. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/obdeect/stream/_package.py +0 -0
  363. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/tests/test_cmake_package.py +0 -0
  364. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/tests/test_constants.py +0 -0
  365. {obdeect-0.8.0 → obdeect-0.9.2}/src/stream/python/tests/test_import.py +0 -0
@@ -17,7 +17,7 @@ concurrency:
17
17
 
18
18
  jobs:
19
19
  build:
20
- runs-on: ubuntu-slim
20
+ runs-on: ubuntu-24.04 # builds the C++ extensions for autodoc
21
21
  permissions:
22
22
  contents: read
23
23
  steps:
@@ -27,15 +27,11 @@ jobs:
27
27
  - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
28
28
  with:
29
29
  python-version: "3.14"
30
- - name: Install all components with the documentation tools
30
+ # Autodoc imports only obdeect.ray_tracing (and obdeect.stream, which it requires).
31
+ - name: Install the documented packages with the documentation tools
31
32
  run: >-
32
33
  python -m pip install --upgrade pip
33
- && python -m pip install ./src/stream ./src/propagation ./src/sources
34
- "./src/ray_tracing[docs]"
35
- - name: Test documentation publishing
36
- run: |
37
- python -m pip install pytest
38
- python -m pytest -q src/ray_tracing/python/tests/test_docs_versions.py
34
+ && python -m pip install ./src/stream "./src/ray_tracing[docs]"
39
35
  - name: Build versioned site
40
36
  env:
41
37
  DOCS_BASE_URL: https://${{ github.repository_owner }}.github.io/${{ github.event.repository.name }}
@@ -15,12 +15,6 @@ on:
15
15
  tags:
16
16
  - "v*"
17
17
  workflow_dispatch:
18
- inputs:
19
- publish_testpypi:
20
- description: Publish the built distributions to TestPyPI
21
- required: false
22
- type: boolean
23
- default: false
24
18
 
25
19
  concurrency:
26
20
  group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
@@ -34,7 +28,8 @@ jobs:
34
28
  strategy:
35
29
  fail-fast: false
36
30
  matrix:
37
- os: [ubuntu-24.04, ubuntu-24.04-arm, macos-15]
31
+ # Pull requests: one platform (the tests cover the others); releases: all.
32
+ os: ${{ github.event_name == 'pull_request' && fromJSON('["ubuntu-24.04"]') || fromJSON('["ubuntu-24.04", "ubuntu-24.04-arm", "macos-15"]') }}
38
33
  component: [stream, propagation, sources, ray_tracing]
39
34
  runs-on: ${{ matrix.os }}
40
35
  steps:
@@ -49,7 +44,8 @@ jobs:
49
44
  run: python -m pip install --upgrade cibuildwheel
50
45
  - name: Build and smoke-test wheels
51
46
  env:
52
- CIBW_BUILD: "cp314-* cp315-*"
47
+ CIBW_BUILD: >-
48
+ ${{ github.event_name == 'pull_request' && 'cp314-manylinux_x86_64' || 'cp314-* cp315-*' }}
53
49
  # The components require obdeect-stream of the same version, which is not on
54
50
  # PyPI yet: install it from the same checkout before the tests.
55
51
  CIBW_BEFORE_TEST: >-
@@ -65,7 +61,7 @@ jobs:
65
61
  path: wheelhouse/*.whl
66
62
 
67
63
  sdist:
68
- runs-on: ubuntu-24.04
64
+ runs-on: ubuntu-slim
69
65
  steps:
70
66
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
71
67
  with:
@@ -77,10 +73,24 @@ jobs:
77
73
  - name: Build the component source distributions and the obdeect package
78
74
  run: |
79
75
  python -m pip install --upgrade build
80
- for component in stream propagation sources ray_tracing; do
76
+ python -m build --sdist --outdir dist src/stream
77
+ # Bundle the stream sources so each component sdist builds in an isolated
78
+ # environment, with exactly the stream version it is released with.
79
+ for component in propagation sources ray_tracing; do
80
+ mkdir "src/${component}/stream-src"
81
+ cp -R src/stream/CMakeLists.txt src/stream/cmake src/stream/cpp "src/${component}/stream-src/"
81
82
  python -m build --sdist --outdir dist "src/${component}"
83
+ rm -rf "src/${component}/stream-src"
82
84
  done
83
85
  python -m build --outdir dist .
86
+ - name: Test the component sdists in a clean isolated build
87
+ run: |
88
+ python -m venv "${RUNNER_TEMP}/sdist-test"
89
+ for sdist in dist/obdeect_propagation-*.tar.gz dist/obdeect_sources-*.tar.gz \
90
+ dist/obdeect_ray_tracing-*.tar.gz; do
91
+ # No obdeect-stream installed: the build must use the bundled sources.
92
+ "${RUNNER_TEMP}/sdist-test/bin/pip" install --no-deps "${sdist}"
93
+ done
84
94
  - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7
85
95
  with:
86
96
  name: sdist
@@ -92,6 +102,8 @@ jobs:
92
102
  if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
93
103
  needs: [wheels, sdist]
94
104
  strategy:
105
+ # A misconfigured publisher must not cancel the uploads of the other projects.
106
+ fail-fast: false
95
107
  matrix:
96
108
  project: [obdeect-stream, obdeect-propagation, obdeect-sources, obdeect-ray-tracing]
97
109
  runs-on: ubuntu-24.04
@@ -132,23 +144,3 @@ jobs:
132
144
  ls dist
133
145
  - name: Publish distributions to PyPI
134
146
  uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
135
-
136
- publish-testpypi:
137
- if: >-
138
- ${{
139
- github.event_name == 'workflow_dispatch' && inputs.publish_testpypi
140
- }}
141
- needs: [wheels, sdist]
142
- runs-on: ubuntu-24.04
143
- environment: testpypi
144
- permissions:
145
- id-token: write
146
- steps:
147
- - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8
148
- with:
149
- path: dist
150
- merge-multiple: true
151
- - name: Publish distributions to TestPyPI
152
- uses: pypa/gh-action-pypi-publish@7245906fb61fa33a13554f9d5fb856fe61758086 # release/v1
153
- with:
154
- repository-url: https://test.pypi.org/legacy/
@@ -15,12 +15,35 @@ permissions:
15
15
  contents: read
16
16
 
17
17
  jobs:
18
- build-and-test:
18
+ # C++ tests of all components, once per platform (they do not depend on Python).
19
+ native:
19
20
  strategy:
20
21
  fail-fast: false
21
22
  matrix:
22
23
  runner: [ubuntu-24.04, ubuntu-24.04-arm, macos-15]
23
- python-version: ['3.14', '3.15']
24
+ runs-on: ${{ matrix.runner }}
25
+ steps:
26
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
27
+ with:
28
+ fetch-depth: 0 # component versions come from the repository tags
29
+ - name: Configure and build all components
30
+ run: >-
31
+ cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
32
+ && cmake --build build --parallel
33
+ - name: Run native tests
34
+ run: ctest --test-dir build --output-on-failure --parallel 4
35
+
36
+ # Python packages, native programs and the end-to-end chain. Python 3.15 (prerelease)
37
+ # on one platform only.
38
+ python:
39
+ strategy:
40
+ fail-fast: false
41
+ matrix:
42
+ include:
43
+ - {runner: ubuntu-24.04, python-version: '3.14'}
44
+ - {runner: ubuntu-24.04-arm, python-version: '3.14'}
45
+ - {runner: macos-15, python-version: '3.14'}
46
+ - {runner: ubuntu-24.04, python-version: '3.15'}
24
47
  runs-on: ${{ matrix.runner }}
25
48
  steps:
26
49
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
@@ -30,71 +53,85 @@ jobs:
30
53
  with:
31
54
  python-version: ${{ matrix.python-version }}
32
55
  allow-prereleases: true
56
+ # Build tools once instead of once per component (build isolation).
33
57
  - name: Install all components and test dependencies
34
58
  run: >-
35
59
  python -m pip install --upgrade pip
36
- && python -m pip install ./src/stream ./src/propagation ./src/sources
37
- "./src/ray_tracing[plot]" pytest
38
- - name: Configure and build all components
39
- run: >-
40
- cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
41
- && cmake --build build --parallel
42
- - name: Run native tests
43
- run: ctest --test-dir build --output-on-failure
60
+ && python -m pip install "scikit-build-core>=0.11" "setuptools-scm>=8" "nanobind>=3.1"
61
+ && python -m pip install --no-build-isolation ./src/stream ./src/propagation
62
+ ./src/sources "./src/ray_tracing[plot]" pytest
44
63
  # One run per component (test modules of different components share file names),
45
- # then the end-to-end chain.
46
64
  - name: Run Python tests
47
65
  run: |
48
66
  status=0
49
67
  for component in stream propagation sources ray_tracing; do
50
68
  pytest "src/${component}/python/tests" || status=1
51
69
  done
52
- pytest validation || status=1
53
70
  exit "${status}"
54
- fma:
55
- runs-on: ubuntu-24.04
71
+
72
+ # Repository-level release files (CITATION.cff, CHANGELOG.md); no build needed.
73
+ release-metadata:
74
+ runs-on: ubuntu-slim
56
75
  steps:
57
76
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
77
+ - uses: actions/setup-python@6d4fd22b20465ccc0f7354476588e8df7c9ca0e0 # v7
58
78
  with:
59
- fetch-depth: 0
60
- - name: Configure, build, and test with OBDEECT_RAY_TRACING_USE_FMA
61
- run: >-
62
- cmake -S . -B build-fma -DCMAKE_BUILD_TYPE=Release -DOBDEECT_RAY_TRACING_USE_FMA=ON
63
- && cmake --build build-fma --parallel
64
- && ctest --test-dir build-fma --output-on-failure
79
+ python-version: '3.14'
80
+ - name: Check CITATION.cff against CHANGELOG.md
81
+ run: |
82
+ python -m pip install --upgrade pip pytest
83
+ pytest docs/test_release_metadata.py -q
84
+
85
+ # Each component on its own, in parallel.
65
86
  sanitizers:
87
+ strategy:
88
+ fail-fast: false
89
+ matrix:
90
+ component: [stream, propagation, sources, ray_tracing]
66
91
  runs-on: ubuntu-24.04
67
92
  steps:
68
93
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
69
94
  with:
70
- fetch-depth: 0
95
+ fetch-depth: 0 # component versions come from the repository tags
71
96
  - name: Install a decimal-comma locale
72
97
  run: sudo locale-gen de_DE.UTF-8
73
98
  - name: Configure, build, and test with sanitizers
74
99
  env:
75
100
  OBDEECT_RAY_TRACING_REQUIRE_COMMA_LOCALE: "1"
76
101
  run: >-
77
- cmake -S . -B build-sanitize -DCMAKE_BUILD_TYPE=Debug
102
+ cmake -S src/${{ matrix.component }} -B build-sanitize -DCMAKE_BUILD_TYPE=Debug
78
103
  -DCMAKE_CXX_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer"
79
104
  -DCMAKE_C_FLAGS="-fsanitize=address,undefined -fno-omit-frame-pointer"
80
105
  -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=address,undefined"
81
106
  -DCMAKE_SHARED_LINKER_FLAGS="-fsanitize=address,undefined"
82
107
  && cmake --build build-sanitize --parallel
83
- && ctest --test-dir build-sanitize --output-on-failure
108
+ && ctest --test-dir build-sanitize --output-on-failure --parallel 4
109
+
110
+ # Ray tracing only: the only component with an FMA option and with threads.
111
+ fma:
112
+ runs-on: ubuntu-24.04
113
+ steps:
114
+ - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
115
+ with:
116
+ fetch-depth: 0 # component versions come from the repository tags
117
+ - name: Configure, build, and test ray tracing with OBDEECT_RAY_TRACING_USE_FMA
118
+ run: >-
119
+ cmake -S src/ray_tracing -B build-fma -DCMAKE_BUILD_TYPE=Release
120
+ -DOBDEECT_RAY_TRACING_USE_FMA=ON
121
+ && cmake --build build-fma --parallel
122
+ && ctest --test-dir build-fma --output-on-failure
84
123
  thread-sanitizer:
85
124
  runs-on: ubuntu-24.04
86
125
  steps:
87
126
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7
88
127
  with:
89
- fetch-depth: 0
128
+ fetch-depth: 0 # component versions come from the repository tags
90
129
  # GCC 13 reports a false free-nonheap-object warning in std::vector under TSan.
91
- - name: Configure, build, and test with ThreadSanitizer
130
+ - name: Configure, build, and test ray tracing with ThreadSanitizer
92
131
  run: >-
93
- cmake -S . -B build-tsan -DCMAKE_BUILD_TYPE=RelWithDebInfo
132
+ cmake -S src/ray_tracing -B build-tsan -DCMAKE_BUILD_TYPE=RelWithDebInfo
94
133
  -DCMAKE_CXX_FLAGS="-fsanitize=thread -fno-omit-frame-pointer -Wno-free-nonheap-object"
95
- -DCMAKE_C_FLAGS="-fsanitize=thread -fno-omit-frame-pointer"
96
134
  -DCMAKE_EXE_LINKER_FLAGS="-fsanitize=thread"
97
- -DCMAKE_SHARED_LINKER_FLAGS="-fsanitize=thread"
98
135
  && cmake --build build-tsan --parallel
99
136
  && ctest --test-dir build-tsan --output-on-failure
100
137
  clang-tidy:
@@ -113,4 +150,4 @@ jobs:
113
150
  find src/stream/cpp/tests src/stream/cpp/bench src/propagation/cpp/tests
114
151
  src/sources/cpp/tests src/ray_tracing/cpp/tests src/ray_tracing/cpp/bench
115
152
  -name '*.cpp' -print0
116
- | xargs -0 clang-tidy -p build-tidy --extra-arg=-Wno-unknown-warning-option
153
+ | xargs -0 -P 4 -n 4 clang-tidy -p build-tidy --extra-arg=-Wno-unknown-warning-option
@@ -30,3 +30,6 @@ dist/
30
30
 
31
31
  # Documentation build
32
32
  docs/_build/
33
+
34
+ # Stream sources staged into component sdists at release time
35
+ /src/*/stream-src/
@@ -7,14 +7,14 @@ exclude: ^src/[^/]+/cpp/tests/data/
7
7
 
8
8
  repos:
9
9
  - repo: https://github.com/pre-commit/pre-commit-hooks
10
- rev: v5.0.0
10
+ rev: v6.0.0
11
11
  hooks:
12
12
  - id: check-yaml
13
13
  - id: check-json
14
14
  - id: end-of-file-fixer
15
15
  - id: trailing-whitespace
16
16
  - repo: https://github.com/astral-sh/ruff-pre-commit
17
- rev: v0.12.7
17
+ rev: v0.17.5
18
18
  hooks:
19
19
  - id: ruff-check
20
20
  args: [--fix]
@@ -26,7 +26,7 @@ repos:
26
26
  - id: actionlint
27
27
  # https://pyproject-fmt.readthedocs.io/en/latest/
28
28
  - repo: https://github.com/tox-dev/pyproject-fmt
29
- rev: "v2.29.2"
29
+ rev: "v2.30.6"
30
30
  hooks:
31
31
  - id: pyproject-fmt
32
32
  args: ["--max-supported-python", "3.15"]
@@ -36,11 +36,11 @@ repos:
36
36
  hooks:
37
37
  - id: codespell
38
38
  args: [
39
- "--ignore-words-list=als,hel,arrang,aer,chec",
39
+ "--ignore-words-list=als,hel,arrang,aer,chec,kInf,nd",
40
40
  ]
41
41
  # markdownlint
42
42
  - repo: https://github.com/igorshubovych/markdownlint-cli
43
- rev: v0.49.1
43
+ rev: v0.50.0
44
44
  hooks:
45
45
  - id: markdownlint
46
46
  args: ["--disable", "MD041"]
@@ -34,6 +34,9 @@ Root `docs/changes/` is the Towncrier input for all components.
34
34
 
35
35
  - Never modify the main `README.md`. Suggest changes instead, do not apply them.
36
36
  - Terminology: call a compiled telescope geometry and optical-response artifact an "optical model".
37
+ In documentation, say "efficiency status", never "ledger"; say "photons in the sky frame", not
38
+ "sky photons"; call the `--envelope` tables "efficiency bounds". Photon-stream files use `.pst`,
39
+ never `.ps` (PostScript).
37
40
  - Keep it simple, efficient, deterministic and portable. Prefer small, explicit data
38
41
  structures and testable kernels over frameworks, global state, hidden defaults or
39
42
  abstraction in the hot path.
@@ -61,7 +64,7 @@ Root `docs/changes/` is the Towncrier input for all components.
61
64
  - `stream`: Results must not depend on photon ordering, chunk size or thread count.
62
65
  Record each efficiency in the stream.
63
66
  - `propagation`: Atmospheric effects are an ordered list of independent effects, each
64
- recorded in the efficiency ledger of the stream. Extinction follows `docs/extinction.md`;
67
+ recorded in the efficiency status of the stream. Extinction follows `docs/extinction.md`;
65
68
  its tests hold the reference values.
66
69
  - `sources`: Sources are defined by validated input (position, direction, angular,
67
70
  spectral and pulse profiles), never by hardwired device names. Sources emit at sky,
@@ -4,6 +4,52 @@ All components are released together with one version (tags `vX.Y.Z`); the secti
4
4
 
5
5
  <!-- towncrier release notes start -->
6
6
 
7
+ ## [v0.9.2] - 2026-11-16
8
+
9
+ ### Fixed
10
+
11
+ - Fix ubuntu version in deploy runners.
12
+
13
+ ### Maintenance
14
+
15
+ - Add a test for version and data in CITATION.cff. (#64)
16
+
17
+ ## [v0.9.1] - 2026-11-16
18
+
19
+ ### Fixed
20
+
21
+ - citation string in CITATION.cff
22
+
23
+ ## [v0.9.0] - 2026-11-16
24
+
25
+ ### Added
26
+
27
+ - Atmosphere stage: optional Earth curvature for the extinction airmass (`curvature` = `none`, `corsika` or `spherical`, with `earth_radius_m`); the slant optical depth replaces the plane-parallel airmass, and CORSIKA CURVED input is detected from the EVTH flag so that curvature is never applied twice. See the propagation curvature page. (#48)
28
+ - Atmosphere stage: in the `spherical` curvature mode, refraction is now applied in spherical shells. With an atmospheric profile the rays are bent and the air delay follows the bent ray (with `refraction_applied` = 1 only the air delay along the straight line is added). See the propagation curvature page. (#50)
29
+ - Atmosphere stage: `obdeect propagation run --telescopes ID[,ID...]` (Python: `telescopes=`) keeps only the listed telescopes. Their photons are not decoded; the blocks of other telescopes are dropped from the output. The kept telescopes' output is byte-identical to the full run with the other blocks removed. Not combined with scattering. `obdeect.stream.Reader(path, photon_telescopes)` skips the photons of other telescopes the same way. (#52)
30
+ - Atmosphere stage: `obdeect propagation run --threads N` runs the extinction of each chunk on N threads (default 1). The output is byte-identical for any N. (#55)
31
+ - `obdeect ray-tracing trace-stream` traces several telescopes with their own optical models in one process: `--model ID=PATH`, repeated (Python: `trace_stream({id: model, ...}, ...)`). The output is one camera-frame stream in event order, so an array no longer needs one process per telescope and a merge of their streams. Each telescope block carries the efficiency status of its model. `--model PATH` (one model for every telescope) is unchanged. (#60)
32
+
33
+ ### Fixed
34
+
35
+ - Photon indices (`first_index`) now continue across CORSIKA array reuses of the same telescope and event, so the random draws of propagation and ray tracing differ between reuses. The sim_telarray writer expects the continued numbering within an event; propagation and `stage.transform` keep it in their output. (#43)
36
+ - The night-sky background sampler now places entry points uniformly over the projected telescope disc (`ri = sqrt(u)`, previously `1 - sqrt(u)`), so the flux is isotropic. The mean emission distance `E[zi]` is now 2/3. (#47)
37
+ - `obdeect stream to-simtel` now refuses a camera- or telescope-frame stream whose efficiency status does not show the atmosphere as applied: a status without `atmosphere`, or with it `pending`. Before, a stream from `obdeect ray-tracing trace-stream` built on an unpropagated CORSIKA stream was converted without the atmosphere. The error names the factor and exits with status 1. Use `--allow-pending-atmosphere` (Python: `allow_pending_atmosphere=True`) where sim_telarray applies the atmosphere in that frame. Ground-frame streams and streams without any efficiency status are unchanged. (#58)
38
+ - Ground-frame photons at grazing pointing (zenith above about 70°) were placed on an input plane above the incoming obscurers only. Where the dish reaches above that plane, photons started behind the mirror and were lost (about 20 % at zenith 86.8° for a dish reaching far above its camera). The plane now lies above the primary mirror (and the secondary if it blocks incoming light) too, and `trace_bunches` rejects a plane below such a mirror. (#59)
39
+ - Segmented telescopes without a `mirror_offset` record compile with an offset of zero, as the other telescope types already do, instead of failing with `missing parameter mirror_offset`. (#61)
40
+
41
+ ### Maintenance
42
+
43
+ - Use the top-level `[[tool.dynamic-metadata]]` entries of scikit-build-core for the version and the component dependencies; the deprecation warning in the wheel builds is gone and the built metadata is unchanged. (#39)
44
+ - Faster CI: native and Python tests run in parallel jobs (native tests once per platform, Python 3.15 on one platform), sanitizers per component, FMA and ThreadSanitizer for ray tracing only, the documentation installs only the documented packages, and pull requests build wheels for one platform; jobs without compilation run on ubuntu-slim. The release publishes each PyPI project even if another upload fails; the TestPyPI channel is removed. (#40)
45
+ - Remove duplicated code between the components: one number parser, command-line helper, `Vec3`, telescope-position conversion, 1/λ² wavelength draw and CORSIKA atmosphere-profile reader now live in `obdeect-stream`. Every native tool exits with status 2 on a usage error and accepts `--version`. Propagation and ray tracing draw continuous wavelengths instead of integer nm, so their per-photon results change slightly (mean wavelength about +0.5 nm). (#41)
46
+ - Rewrote the documentation: a user guide, common landing pages for all components, separate pages for random numbers, efficiency status, GrISU export and legacy extinction tables, and no test sections. Renamed "ledger" to "efficiency status" in the code (including some error messages), and photon-stream files now use the extension `.pst` instead of `.ps`. (#46)
47
+ - Validation scripts moved to obdeect-validation (CORSIKA and stream container check, chain test, flasher, LED and IACT helpers). (#51)
48
+ - Faster `point-source` with several telescopes: the photons of an event are generated once and written for every telescope instead of once per telescope (14 to 74 times faster for 4 to 64 telescopes in the measured cases). Random draws that a fixed spectrum or a zero-width pulse does not use are skipped. The output is byte-identical for the same seed. (#52)
49
+ - Faster `trace-stream` for several telescopes: the photon reader does not decode the columns of photon chunks from telescopes that are not traced. Their headers and payload sizes are still validated, and their `frame` and `first_index` are set. Output for the traced telescopes is unchanged (byte-identical). (#53)
50
+ - Faster `obdeect <component> <command>` start-up: the command loads only its own component. Before, every call also imported NumPy through the ray-tracing component (about 0.1 s per call, most of the light-source chain overhead). Output is unchanged (byte-identical). (#57)
51
+
52
+
7
53
  ## [0.8.0] - 2026-11-13
8
54
 
9
55
  ### Added
@@ -1,8 +1,8 @@
1
1
  cff-version: 1.2.0
2
2
  message: "If you use obdeect, please cite it using the metadata below."
3
3
  title: "obdeect: Photon streams, atmospheric propagation, light sources and ray tracing for imaging atmospheric Cherenkov telescopes"
4
- version: 0.8.0
5
- date-released: 2026-11-13
4
+ version: 0.9.2
5
+ date-released: 2026-11-16
6
6
  license: BSD-3-Clause
7
7
  type: software
8
8
  repository-code: "https://github.com/gammasim/obdeect"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: obdeect
3
- Version: 0.8.0
3
+ Version: 0.9.2
4
4
  Summary: Cherenkov-telescope light simulation: all obdeect components
5
5
  Author: obdeect contributors
6
6
  License-Expression: BSD-3-Clause
@@ -10,26 +10,33 @@ Classifier: Programming Language :: Python :: 3 :: Only
10
10
  Classifier: Programming Language :: Python :: 3.14
11
11
  Classifier: Programming Language :: Python :: 3.15
12
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
13
+ Requires-Dist: obdeect-propagation==0.9.2
14
+ Requires-Dist: obdeect-ray-tracing==0.9.2
15
+ Requires-Dist: obdeect-sources==0.9.2
16
+ Requires-Dist: obdeect-stream==0.9.2
17
17
  Description-Content-Type: text/markdown
18
18
 
19
19
  # obdeect
20
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.
21
+ <p align="center">
22
+ <img src="docs/_static/images/obdeect_21ratio_small.jpg" alt="Obdeect optical ray tracing for imaging atmospheric Cherenkov telescopes" width="800">
23
+ </p>
24
+
25
+ [![DOI](https://zenodo.org/badge/1376945125.svg)](https://doi.org/10.5281/zenodo.23942573)
26
+
27
+ obdeect is a simulation chain for imaging atmospheric Cherenkov telescopes.
28
+
29
+ The chain is made of modules that exchange photons as photon streams:
26
30
 
27
31
  | Component | Package | Command |
28
32
  |---|---|---|
29
- | photon stream | `obdeect-stream` | `obdeect stream ...` |
30
33
  | atmospheric propagation | `obdeect-propagation` | `obdeect propagation ...` |
31
34
  | light sources | `obdeect-sources` | `obdeect sources ...` |
32
35
  | ray tracing | `obdeect-ray-tracing` | `obdeect ray-tracing ...` |
36
+ | camera simulation | (not implemented yet) | uses sim_telarray |
37
+ | photon stream | `obdeect-stream` | `obdeect stream ...` |
38
+
39
+ [simtools](https://github.com/gammasim/simtools) configures and runs the chain.
33
40
 
34
41
  ## Install
35
42
 
@@ -62,15 +69,10 @@ file.
62
69
  cmake -S . -B build && cmake --build build && ctest --test-dir build
63
70
  pip install ./src/stream ./src/propagation ./src/sources ./src/ray_tracing
64
71
  for c in stream propagation sources ray_tracing; do pytest src/$c/python/tests; done
65
- pytest validation # end-to-end chain
66
72
  ```
67
73
 
68
74
  Requires Python 3.14 or higher, a C++20 compiler, and CMake 3.20 or higher.
69
75
 
70
- ## Status
71
-
72
- Alpha. The ray tracing component is pre-alpha.
73
-
74
76
  ## License
75
77
 
76
78
  BSD-3-Clause. See [LICENSE](LICENSE) and [CITATION.cff](CITATION.cff).
@@ -1,17 +1,24 @@
1
1
  # obdeect
2
2
 
3
- obdeect is a simulation chain for imaging atmospheric Cherenkov telescopes. The chain is
4
- made of modules that exchange photons as photon streams: light sources or CORSIKA air
5
- showers, the atmosphere, telescope optics, and the camera simulation in sim_telarray, which
6
- is reached through `obdeect stream to-simtel`. The repository [simtools](https://github.com/gammasim/simtools)
7
- configures and runs the chain.
3
+ <p align="center">
4
+ <img src="docs/_static/images/obdeect_21ratio_small.jpg" alt="Obdeect optical ray tracing for imaging atmospheric Cherenkov telescopes" width="800">
5
+ </p>
6
+
7
+ [![DOI](https://zenodo.org/badge/1376945125.svg)](https://doi.org/10.5281/zenodo.23942573)
8
+
9
+ obdeect is a simulation chain for imaging atmospheric Cherenkov telescopes.
10
+
11
+ The chain is made of modules that exchange photons as photon streams:
8
12
 
9
13
  | Component | Package | Command |
10
14
  |---|---|---|
11
- | photon stream | `obdeect-stream` | `obdeect stream ...` |
12
15
  | atmospheric propagation | `obdeect-propagation` | `obdeect propagation ...` |
13
16
  | light sources | `obdeect-sources` | `obdeect sources ...` |
14
17
  | ray tracing | `obdeect-ray-tracing` | `obdeect ray-tracing ...` |
18
+ | camera simulation | (not implemented yet) | uses sim_telarray |
19
+ | photon stream | `obdeect-stream` | `obdeect stream ...` |
20
+
21
+ [simtools](https://github.com/gammasim/simtools) configures and runs the chain.
15
22
 
16
23
  ## Install
17
24
 
@@ -44,15 +51,10 @@ file.
44
51
  cmake -S . -B build && cmake --build build && ctest --test-dir build
45
52
  pip install ./src/stream ./src/propagation ./src/sources ./src/ray_tracing
46
53
  for c in stream propagation sources ray_tracing; do pytest src/$c/python/tests; done
47
- pytest validation # end-to-end chain
48
54
  ```
49
55
 
50
56
  Requires Python 3.14 or higher, a C++20 compiler, and CMake 3.20 or higher.
51
57
 
52
- ## Status
53
-
54
- Alpha. The ray tracing component is pre-alpha.
55
-
56
58
  ## License
57
59
 
58
60
  BSD-3-Clause. See [LICENSE](LICENSE) and [CITATION.cff](CITATION.cff).
@@ -53,3 +53,19 @@
53
53
  .homepage-actions p {
54
54
  margin: 0;
55
55
  }
56
+
57
+ /* Command boxes are shown in full: wrap long lines instead of adding a scroll bar. */
58
+ .bd-article pre {
59
+ white-space: pre-wrap;
60
+ overflow-wrap: anywhere;
61
+ overflow-x: visible;
62
+ }
63
+
64
+ /* Chain diagram on the front page. */
65
+ .chain-figure {
66
+ display: block;
67
+ width: 100%;
68
+ max-width: 52rem;
69
+ height: auto;
70
+ margin: 1.5rem auto;
71
+ }