gammasimtools 0.15.0__py3-none-any.whl → 0.17.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.
Files changed (248) hide show
  1. {gammasimtools-0.15.0.dist-info → gammasimtools-0.17.0.dist-info}/METADATA +5 -33
  2. {gammasimtools-0.15.0.dist-info → gammasimtools-0.17.0.dist-info}/RECORD +243 -229
  3. {gammasimtools-0.15.0.dist-info → gammasimtools-0.17.0.dist-info}/WHEEL +1 -1
  4. {gammasimtools-0.15.0.dist-info → gammasimtools-0.17.0.dist-info}/entry_points.txt +8 -3
  5. simtools/_version.py +2 -2
  6. simtools/applications/calculate_trigger_rate.py +10 -10
  7. simtools/applications/convert_all_model_parameters_from_simtel.py +16 -16
  8. simtools/applications/convert_model_parameter_from_simtel.py +1 -1
  9. simtools/applications/derive_ctao_array_layouts.py +5 -5
  10. simtools/applications/derive_psf_parameters.py +12 -9
  11. simtools/applications/docs_produce_array_element_report.py +3 -3
  12. simtools/applications/docs_produce_calibration_reports.py +49 -0
  13. simtools/applications/docs_produce_simulation_configuration_report.py +50 -0
  14. simtools/applications/{generate_simtel_array_histograms.py → generate_sim_telarray_histograms.py} +2 -2
  15. simtools/applications/generate_simtel_event_data.py +36 -46
  16. simtools/applications/merge_tables.py +104 -0
  17. simtools/applications/plot_array_layout.py +145 -258
  18. simtools/applications/production_derive_corsika_limits.py +35 -167
  19. simtools/applications/production_derive_statistics.py +159 -0
  20. simtools/applications/production_generate_grid.py +197 -0
  21. simtools/applications/simulate_light_emission.py +6 -13
  22. simtools/applications/simulate_prod.py +45 -21
  23. simtools/applications/simulate_prod_htcondor_generator.py +0 -1
  24. simtools/applications/submit_array_layouts.py +93 -0
  25. simtools/applications/validate_cumulative_psf.py +6 -4
  26. simtools/applications/validate_file_using_schema.py +7 -3
  27. simtools/applications/validate_optics.py +5 -4
  28. simtools/applications/verify_simulation_model_production_tables.py +52 -0
  29. simtools/camera/camera_efficiency.py +17 -42
  30. simtools/configuration/commandline_parser.py +32 -37
  31. simtools/configuration/configurator.py +10 -4
  32. simtools/corsika/corsika_config.py +120 -17
  33. simtools/corsika/primary_particle.py +46 -13
  34. simtools/data_model/format_checkers.py +9 -0
  35. simtools/data_model/metadata_collector.py +7 -3
  36. simtools/data_model/model_data_writer.py +3 -0
  37. simtools/data_model/schema.py +27 -16
  38. simtools/data_model/validate_data.py +27 -7
  39. simtools/db/db_handler.py +21 -15
  40. simtools/db/db_model_upload.py +2 -2
  41. simtools/io_operations/io_handler.py +2 -2
  42. simtools/io_operations/io_table_handler.py +345 -0
  43. simtools/job_execution/htcondor_script_generator.py +2 -2
  44. simtools/job_execution/job_manager.py +7 -121
  45. simtools/layout/array_layout.py +1 -0
  46. simtools/layout/array_layout_utils.py +385 -0
  47. simtools/model/array_model.py +68 -29
  48. simtools/model/model_parameter.py +76 -51
  49. simtools/model/model_repository.py +134 -0
  50. simtools/model/model_utils.py +43 -1
  51. simtools/model/site_model.py +3 -2
  52. simtools/model/telescope_model.py +4 -4
  53. simtools/production_configuration/{calculate_statistical_errors_grid_point.py → calculate_statistical_uncertainties_grid_point.py} +101 -116
  54. simtools/production_configuration/derive_corsika_limits.py +239 -111
  55. simtools/production_configuration/derive_corsika_limits_grid.py +189 -0
  56. simtools/production_configuration/derive_production_statistics.py +155 -0
  57. simtools/production_configuration/derive_production_statistics_handler.py +152 -0
  58. simtools/production_configuration/generate_production_grid.py +364 -0
  59. simtools/production_configuration/interpolation_handler.py +303 -96
  60. simtools/ray_tracing/mirror_panel_psf.py +16 -20
  61. simtools/ray_tracing/psf_analysis.py +2 -2
  62. simtools/ray_tracing/ray_tracing.py +12 -7
  63. simtools/reporting/docs_read_parameters.py +426 -81
  64. simtools/runners/corsika_runner.py +11 -1
  65. simtools/runners/corsika_simtel_runner.py +84 -90
  66. simtools/runners/runner_services.py +22 -8
  67. simtools/runners/simtel_runner.py +27 -10
  68. simtools/schemas/model_parameter.metaschema.yml +4 -0
  69. simtools/schemas/model_parameter_and_data_schema.metaschema.yml +1 -0
  70. simtools/schemas/model_parameters/adjust_gain.schema.yml +2 -2
  71. simtools/schemas/model_parameters/array_element_position_ground.schema.yml +2 -2
  72. simtools/schemas/model_parameters/array_element_position_utm.schema.yml +2 -2
  73. simtools/schemas/model_parameters/array_window.schema.yml +2 -2
  74. simtools/schemas/model_parameters/asum_offset.schema.yml +2 -2
  75. simtools/schemas/model_parameters/asum_shaping.schema.yml +2 -2
  76. simtools/schemas/model_parameters/asum_threshold.schema.yml +2 -2
  77. simtools/schemas/model_parameters/axes_offsets.schema.yml +2 -2
  78. simtools/schemas/model_parameters/camera_body_diameter.schema.yml +2 -2
  79. simtools/schemas/model_parameters/camera_body_shape.schema.yml +2 -2
  80. simtools/schemas/model_parameters/camera_config_file.schema.yml +2 -2
  81. simtools/schemas/model_parameters/camera_config_rotate.schema.yml +2 -2
  82. simtools/schemas/model_parameters/camera_degraded_efficiency.schema.yml +2 -2
  83. simtools/schemas/model_parameters/camera_degraded_map.schema.yml +2 -2
  84. simtools/schemas/model_parameters/camera_depth.schema.yml +2 -2
  85. simtools/schemas/model_parameters/camera_filter.schema.yml +2 -2
  86. simtools/schemas/model_parameters/camera_pixels.schema.yml +2 -2
  87. simtools/schemas/model_parameters/camera_transmission.schema.yml +2 -2
  88. simtools/schemas/model_parameters/channels_per_chip.schema.yml +2 -2
  89. simtools/schemas/model_parameters/correct_nsb_spectrum_to_telescope_altitude.schema.yml +2 -2
  90. simtools/schemas/model_parameters/corsika_starting_grammage.schema.yml +90 -1
  91. simtools/schemas/model_parameters/default_trigger.schema.yml +2 -2
  92. simtools/schemas/model_parameters/design_model.schema.yml +2 -2
  93. simtools/schemas/model_parameters/disc_ac_coupled.schema.yml +2 -2
  94. simtools/schemas/model_parameters/disc_bins.schema.yml +2 -2
  95. simtools/schemas/model_parameters/disc_start.schema.yml +2 -2
  96. simtools/schemas/model_parameters/discriminator_amplitude.schema.yml +2 -2
  97. simtools/schemas/model_parameters/discriminator_fall_time.schema.yml +2 -2
  98. simtools/schemas/model_parameters/discriminator_gate_length.schema.yml +2 -2
  99. simtools/schemas/model_parameters/discriminator_hysteresis.schema.yml +2 -2
  100. simtools/schemas/model_parameters/discriminator_output_amplitude.schema.yml +2 -2
  101. simtools/schemas/model_parameters/discriminator_output_var_percent.schema.yml +2 -2
  102. simtools/schemas/model_parameters/discriminator_pulse_shape.schema.yml +2 -2
  103. simtools/schemas/model_parameters/discriminator_rise_time.schema.yml +2 -2
  104. simtools/schemas/model_parameters/discriminator_scale_threshold.schema.yml +2 -2
  105. simtools/schemas/model_parameters/discriminator_sigsum_over_threshold.schema.yml +2 -2
  106. simtools/schemas/model_parameters/discriminator_threshold.schema.yml +2 -2
  107. simtools/schemas/model_parameters/discriminator_time_over_threshold.schema.yml +2 -2
  108. simtools/schemas/model_parameters/discriminator_var_gate_length.schema.yml +2 -2
  109. simtools/schemas/model_parameters/discriminator_var_sigsum_over_threshold.schema.yml +2 -2
  110. simtools/schemas/model_parameters/discriminator_var_threshold.schema.yml +2 -2
  111. simtools/schemas/model_parameters/discriminator_var_time_over_threshold.schema.yml +2 -2
  112. simtools/schemas/model_parameters/dish_shape_length.schema.yml +2 -2
  113. simtools/schemas/model_parameters/dsum_clipping.schema.yml +2 -2
  114. simtools/schemas/model_parameters/dsum_ignore_below.schema.yml +2 -2
  115. simtools/schemas/model_parameters/dsum_offset.schema.yml +2 -2
  116. simtools/schemas/model_parameters/dsum_pedsub.schema.yml +2 -2
  117. simtools/schemas/model_parameters/dsum_pre_clipping.schema.yml +2 -2
  118. simtools/schemas/model_parameters/dsum_prescale.schema.yml +2 -2
  119. simtools/schemas/model_parameters/dsum_presum_max.schema.yml +2 -2
  120. simtools/schemas/model_parameters/dsum_presum_shift.schema.yml +2 -2
  121. simtools/schemas/model_parameters/dsum_shaping.schema.yml +2 -2
  122. simtools/schemas/model_parameters/dsum_shaping_renormalize.schema.yml +2 -2
  123. simtools/schemas/model_parameters/dsum_threshold.schema.yml +44 -3
  124. simtools/schemas/model_parameters/dsum_zero_clip.schema.yml +2 -2
  125. simtools/schemas/model_parameters/effective_focal_length.schema.yml +2 -2
  126. simtools/schemas/model_parameters/fadc_ac_coupled.schema.yml +2 -2
  127. simtools/schemas/model_parameters/fadc_amplitude.schema.yml +2 -2
  128. simtools/schemas/model_parameters/fadc_bins.schema.yml +2 -2
  129. simtools/schemas/model_parameters/fadc_compensate_pedestal.schema.yml +2 -2
  130. simtools/schemas/model_parameters/fadc_err_compensate_pedestal.schema.yml +2 -2
  131. simtools/schemas/model_parameters/fadc_err_pedestal.schema.yml +2 -2
  132. simtools/schemas/model_parameters/fadc_lg_amplitude.schema.yml +2 -2
  133. simtools/schemas/model_parameters/fadc_lg_compensate_pedestal.schema.yml +2 -2
  134. simtools/schemas/model_parameters/fadc_lg_err_compensate_pedestal.schema.yml +2 -2
  135. simtools/schemas/model_parameters/fadc_lg_err_pedestal.schema.yml +2 -2
  136. simtools/schemas/model_parameters/fadc_lg_max_signal.schema.yml +2 -2
  137. simtools/schemas/model_parameters/fadc_lg_noise.schema.yml +2 -2
  138. simtools/schemas/model_parameters/fadc_lg_pedestal.schema.yml +2 -2
  139. simtools/schemas/model_parameters/fadc_lg_sensitivity.schema.yml +2 -2
  140. simtools/schemas/model_parameters/fadc_lg_sysvar_pedestal.schema.yml +2 -2
  141. simtools/schemas/model_parameters/fadc_lg_var_pedestal.schema.yml +2 -2
  142. simtools/schemas/model_parameters/fadc_lg_var_sensitivity.schema.yml +2 -2
  143. simtools/schemas/model_parameters/fadc_max_signal.schema.yml +2 -2
  144. simtools/schemas/model_parameters/fadc_mhz.schema.yml +2 -2
  145. simtools/schemas/model_parameters/fadc_noise.schema.yml +2 -2
  146. simtools/schemas/model_parameters/fadc_pedestal.schema.yml +2 -2
  147. simtools/schemas/model_parameters/fadc_pulse_shape.schema.yml +2 -2
  148. simtools/schemas/model_parameters/fadc_sensitivity.schema.yml +2 -2
  149. simtools/schemas/model_parameters/fadc_sum_bins.schema.yml +2 -2
  150. simtools/schemas/model_parameters/fadc_sum_offset.schema.yml +2 -2
  151. simtools/schemas/model_parameters/fadc_sysvar_pedestal.schema.yml +2 -2
  152. simtools/schemas/model_parameters/fadc_var_pedestal.schema.yml +2 -2
  153. simtools/schemas/model_parameters/fadc_var_sensitivity.schema.yml +2 -2
  154. simtools/schemas/model_parameters/fake_mirror_list.schema.yml +1 -1
  155. simtools/schemas/model_parameters/flatfielding.schema.yml +2 -2
  156. simtools/schemas/model_parameters/focal_length.schema.yml +2 -2
  157. simtools/schemas/model_parameters/focus_offset.schema.yml +2 -2
  158. simtools/schemas/model_parameters/gain_variation.schema.yml +2 -2
  159. simtools/schemas/model_parameters/hg_lg_variation.schema.yml +2 -2
  160. simtools/schemas/model_parameters/iobuf_maximum.schema.yml +2 -2
  161. simtools/schemas/model_parameters/iobuf_output_maximum.schema.yml +2 -2
  162. simtools/schemas/model_parameters/laser_events.schema.yml +1 -1
  163. simtools/schemas/model_parameters/lightguide_efficiency_vs_incidence_angle.schema.yml +2 -2
  164. simtools/schemas/model_parameters/lightguide_efficiency_vs_wavelength.schema.yml +2 -2
  165. simtools/schemas/model_parameters/min_photoelectrons.schema.yml +2 -2
  166. simtools/schemas/model_parameters/min_photons.schema.yml +2 -2
  167. simtools/schemas/model_parameters/mirror_align_random_distance.schema.yml +2 -2
  168. simtools/schemas/model_parameters/mirror_align_random_horizontal.schema.yml +2 -2
  169. simtools/schemas/model_parameters/mirror_align_random_vertical.schema.yml +2 -2
  170. simtools/schemas/model_parameters/mirror_class.schema.yml +2 -2
  171. simtools/schemas/model_parameters/mirror_degraded_reflection.schema.yml +2 -2
  172. simtools/schemas/model_parameters/mirror_focal_length.schema.yml +2 -2
  173. simtools/schemas/model_parameters/mirror_list.schema.yml +2 -2
  174. simtools/schemas/model_parameters/mirror_offset.schema.yml +2 -2
  175. simtools/schemas/model_parameters/mirror_reflection_random_angle.schema.yml +2 -2
  176. simtools/schemas/model_parameters/mirror_reflectivity.schema.yml +2 -2
  177. simtools/schemas/model_parameters/multiplicity_offset.schema.yml +2 -2
  178. simtools/schemas/model_parameters/muon_mono_threshold.schema.yml +2 -2
  179. simtools/schemas/model_parameters/nsb_autoscale_airmass.schema.yml +2 -2
  180. simtools/schemas/model_parameters/nsb_offaxis.schema.yml +2 -2
  181. simtools/schemas/model_parameters/nsb_pixel_rate.schema.yml +2 -2
  182. simtools/schemas/model_parameters/num_gains.schema.yml +2 -2
  183. simtools/schemas/model_parameters/only_triggered_telescopes.schema.yml +2 -2
  184. simtools/schemas/model_parameters/optics_properties.schema.yml +2 -2
  185. simtools/schemas/model_parameters/pedestal_events.schema.yml +7 -3
  186. simtools/schemas/model_parameters/photon_delay.schema.yml +2 -2
  187. simtools/schemas/model_parameters/pixeltrg_time_step.schema.yml +2 -2
  188. simtools/schemas/model_parameters/pm_average_gain.schema.yml +2 -2
  189. simtools/schemas/model_parameters/pm_collection_efficiency.schema.yml +2 -2
  190. simtools/schemas/model_parameters/pm_gain_index.schema.yml +2 -2
  191. simtools/schemas/model_parameters/pm_photoelectron_spectrum.schema.yml +2 -2
  192. simtools/schemas/model_parameters/pm_transit_time.schema.yml +2 -2
  193. simtools/schemas/model_parameters/pm_voltage_variation.schema.yml +2 -2
  194. simtools/schemas/model_parameters/primary_mirror_degraded_map.schema.yml +2 -2
  195. simtools/schemas/model_parameters/qe_variation.schema.yml +2 -2
  196. simtools/schemas/model_parameters/quantum_efficiency.schema.yml +2 -2
  197. simtools/schemas/model_parameters/random_focal_length.schema.yml +2 -2
  198. simtools/schemas/model_parameters/random_generator.schema.yml +2 -2
  199. simtools/schemas/model_parameters/random_mono_probability.schema.yml +2 -2
  200. simtools/schemas/model_parameters/sampled_output.schema.yml +2 -2
  201. simtools/schemas/model_parameters/save_pe_with_amplitude.schema.yml +2 -2
  202. simtools/schemas/model_parameters/store_photoelectrons.schema.yml +2 -2
  203. simtools/schemas/model_parameters/tailcut_scale.schema.yml +2 -2
  204. simtools/schemas/model_parameters/telescope_axis_height.schema.yml +2 -2
  205. simtools/schemas/model_parameters/telescope_random_angle.schema.yml +2 -2
  206. simtools/schemas/model_parameters/telescope_random_error.schema.yml +2 -2
  207. simtools/schemas/model_parameters/telescope_sphere_radius.schema.yml +2 -2
  208. simtools/schemas/model_parameters/telescope_transmission.schema.yml +2 -2
  209. simtools/schemas/model_parameters/teltrig_min_sigsum.schema.yml +2 -2
  210. simtools/schemas/model_parameters/teltrig_min_time.schema.yml +2 -2
  211. simtools/schemas/model_parameters/transit_time_calib_error.schema.yml +2 -2
  212. simtools/schemas/model_parameters/transit_time_compensate_error.schema.yml +2 -2
  213. simtools/schemas/model_parameters/transit_time_compensate_step.schema.yml +2 -2
  214. simtools/schemas/model_parameters/transit_time_error.schema.yml +2 -2
  215. simtools/schemas/model_parameters/transit_time_jitter.schema.yml +2 -2
  216. simtools/schemas/model_parameters/trigger_current_limit.schema.yml +2 -2
  217. simtools/schemas/model_parameters/trigger_delay_compensation.schema.yml +2 -2
  218. simtools/schemas/model_parameters/trigger_pixels.schema.yml +2 -2
  219. simtools/schemas/production_configuration_metrics.schema.yml +2 -2
  220. simtools/simtel/simtel_config_reader.py +21 -17
  221. simtools/simtel/simtel_config_writer.py +258 -66
  222. simtools/simtel/simtel_io_event_reader.py +301 -194
  223. simtools/simtel/simtel_io_event_writer.py +207 -227
  224. simtools/simtel/simtel_io_file_info.py +62 -0
  225. simtools/simtel/simtel_io_histogram.py +10 -14
  226. simtools/simtel/simtel_io_histograms.py +2 -2
  227. simtools/simtel/simtel_io_metadata.py +106 -0
  228. simtools/simtel/simulator_array.py +28 -14
  229. simtools/simtel/simulator_camera_efficiency.py +12 -6
  230. simtools/simtel/simulator_light_emission.py +85 -45
  231. simtools/simtel/simulator_ray_tracing.py +16 -6
  232. simtools/simulator.py +286 -89
  233. simtools/testing/configuration.py +5 -0
  234. simtools/testing/helpers.py +18 -0
  235. simtools/testing/sim_telarray_metadata.py +212 -0
  236. simtools/testing/validate_output.py +16 -6
  237. simtools/utils/general.py +18 -27
  238. simtools/utils/names.py +32 -10
  239. simtools/visualization/plot_array_layout.py +242 -0
  240. simtools/visualization/plot_pixels.py +681 -0
  241. simtools/visualization/visualize.py +5 -221
  242. simtools/applications/production_generate_simulation_config.py +0 -162
  243. simtools/applications/production_scale_events.py +0 -185
  244. simtools/layout/ctao_array_layouts.py +0 -172
  245. simtools/production_configuration/event_scaler.py +0 -120
  246. simtools/production_configuration/generate_simulation_config.py +0 -158
  247. {gammasimtools-0.15.0.dist-info → gammasimtools-0.17.0.dist-info}/licenses/LICENSE +0 -0
  248. {gammasimtools-0.15.0.dist-info → gammasimtools-0.17.0.dist-info}/top_level.txt +0 -0
@@ -20,8 +20,8 @@ instrument:
20
20
  type:
21
21
  - LSTN
22
22
  - LSTS
23
- - MSTN
24
- - MSTS
23
+ - MSTx-NectarCam
24
+ - MSTx-FlashCam
25
25
  - SSTS
26
26
  - SCTS
27
27
  activity:
@@ -24,8 +24,8 @@ instrument:
24
24
  type:
25
25
  - LSTN
26
26
  - LSTS
27
- - MSTN
28
- - MSTS
27
+ - MSTx-NectarCam
28
+ - MSTx-FlashCam
29
29
  - SSTS
30
30
  - SCTS
31
31
  activity:
@@ -21,8 +21,8 @@ instrument:
21
21
  type:
22
22
  - LSTN
23
23
  - LSTS
24
- - MSTN
25
- - MSTS
24
+ - MSTx-NectarCam
25
+ - MSTx-FlashCam
26
26
  - SSTS
27
27
  - SCTS
28
28
  activity:
@@ -20,8 +20,8 @@ instrument:
20
20
  type:
21
21
  - LSTN
22
22
  - LSTS
23
- - MSTN
24
- - MSTS
23
+ - MSTx-NectarCam
24
+ - MSTx-FlashCam
25
25
  - SSTS
26
26
  - SCTS
27
27
  activity:
@@ -1,4 +1,93 @@
1
- %YAML 1.2
1
+ ---
2
+ title: Schema for corsika_starting_grammage model parameter
3
+ version: 0.3.0
4
+ meta_schema: simpipe-schema
5
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/src/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
6
+ meta_schema_version: 0.1.0
7
+ name: corsika_starting_grammage
8
+ description: |-
9
+ Starting altitude of the primary particle in mass overburden for all showers.
10
+ This parameter should be set to values other than '0.' for specialized studies
11
+ only. See CORSIKA manual for details.
12
+ instrument:
13
+ class: configuration_corsika
14
+ data:
15
+ - type: dict
16
+ json_schema:
17
+ type: array
18
+ items:
19
+ type: object
20
+ properties:
21
+ instrument:
22
+ type: string
23
+ default: null
24
+ description: "Instrument name."
25
+ primary_particle:
26
+ type: string
27
+ format: common_particle_name
28
+ default: "default"
29
+ description: "Primary particle type."
30
+ value:
31
+ type: number
32
+ default: 0.0
33
+ minimum: 0.0
34
+ required:
35
+ - primary_particle
36
+ - value
37
+ additionalProperties: false
38
+ activity:
39
+ setting:
40
+ - SetParameterFromExternal
41
+ validation:
42
+ - ValidateParameterByExpert
43
+ source:
44
+ - Configuration
45
+ simulation_software:
46
+ - name: corsika
47
+ ...
48
+ ---
49
+ title: Schema for corsika_starting_grammage model parameter
50
+ version: 0.2.0
51
+ meta_schema: simpipe-schema
52
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/src/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
53
+ meta_schema_version: 0.1.0
54
+ name: corsika_starting_grammage
55
+ description: |-
56
+ Starting altitude of the primary particle in mass overburden for all showers.
57
+ This parameter should be set to values other than '0.' for specialized studies
58
+ only. See CORSIKA manual for details.
59
+ instrument:
60
+ class: configuration_corsika
61
+ data:
62
+ - type: dict
63
+ json_schema:
64
+ type: array
65
+ items:
66
+ type: object
67
+ properties:
68
+ primary_particle:
69
+ type: string
70
+ format: common_particle_name
71
+ default: "default"
72
+ description: "Primary particle type."
73
+ value:
74
+ type: number
75
+ default: 0.0
76
+ minimum: 0.0
77
+ required:
78
+ - primary_particle
79
+ - value
80
+ additionalProperties: false
81
+ activity:
82
+ setting:
83
+ - SetParameterFromExternal
84
+ validation:
85
+ - ValidateParameterByExpert
86
+ source:
87
+ - Configuration
88
+ simulation_software:
89
+ - name: corsika
90
+ ...
2
91
  ---
3
92
  title: Schema for corsika_starting_grammage model parameter
4
93
  version: 0.1.0
@@ -20,8 +20,8 @@ instrument:
20
20
  type:
21
21
  - LSTN
22
22
  - LSTS
23
- - MSTN
24
- - MSTS
23
+ - MSTx-NectarCam
24
+ - MSTx-FlashCam
25
25
  - SSTS
26
26
  - SCTS
27
27
  activity:
@@ -16,8 +16,8 @@ instrument:
16
16
  type:
17
17
  - LSTN
18
18
  - LSTS
19
- - MSTN
20
- - MSTS
19
+ - MSTx-NectarCam
20
+ - MSTx-FlashCam
21
21
  - SSTS
22
22
  - SCTS
23
23
  activity:
@@ -16,8 +16,8 @@ instrument:
16
16
  type:
17
17
  - LSTN
18
18
  - LSTS
19
- - MSTN
20
- - MSTS
19
+ - MSTx-NectarCam
20
+ - MSTx-FlashCam
21
21
  - SSTS
22
22
  - SCTS
23
23
  activity:
@@ -23,8 +23,8 @@ instrument:
23
23
  type:
24
24
  - LSTN
25
25
  - LSTS
26
- - MSTN
27
- - MSTS
26
+ - MSTx-NectarCam
27
+ - MSTx-FlashCam
28
28
  - SSTS
29
29
  - SCTS
30
30
  activity:
@@ -25,8 +25,8 @@ instrument:
25
25
  type:
26
26
  - LSTN
27
27
  - LSTS
28
- - MSTN
29
- - MSTS
28
+ - MSTx-NectarCam
29
+ - MSTx-FlashCam
30
30
  - SSTS
31
31
  - SCTS
32
32
  activity:
@@ -19,8 +19,8 @@ instrument:
19
19
  type:
20
20
  - LSTN
21
21
  - LSTS
22
- - MSTN
23
- - MSTS
22
+ - MSTx-NectarCam
23
+ - MSTx-FlashCam
24
24
  - SSTS
25
25
  - SCTS
26
26
  data:
@@ -17,8 +17,8 @@ instrument:
17
17
  type:
18
18
  - LSTN
19
19
  - LSTS
20
- - MSTN
21
- - MSTS
20
+ - MSTx-NectarCam
21
+ - MSTx-FlashCam
22
22
  - SSTS
23
23
  - SCTS
24
24
  data:
@@ -17,8 +17,8 @@ instrument:
17
17
  type:
18
18
  - LSTN
19
19
  - LSTS
20
- - MSTN
21
- - MSTS
20
+ - MSTx-NectarCam
21
+ - MSTx-FlashCam
22
22
  - SSTS
23
23
  - SCTS
24
24
  data:
@@ -16,8 +16,8 @@ instrument:
16
16
  type:
17
17
  - LSTN
18
18
  - LSTS
19
- - MSTN
20
- - MSTS
19
+ - MSTx-NectarCam
20
+ - MSTx-FlashCam
21
21
  - SSTS
22
22
  - SCTS
23
23
  data:
@@ -17,8 +17,8 @@ instrument:
17
17
  type:
18
18
  - LSTN
19
19
  - LSTS
20
- - MSTN
21
- - MSTS
20
+ - MSTx-NectarCam
21
+ - MSTx-FlashCam
22
22
  - SSTS
23
23
  - SCTS
24
24
  data:
@@ -17,8 +17,8 @@ instrument:
17
17
  type:
18
18
  - LSTN
19
19
  - LSTS
20
- - MSTN
21
- - MSTS
20
+ - MSTx-NectarCam
21
+ - MSTx-FlashCam
22
22
  - SSTS
23
23
  - SCTS
24
24
  data:
@@ -17,8 +17,8 @@ instrument:
17
17
  type:
18
18
  - LSTN
19
19
  - LSTS
20
- - MSTN
21
- - MSTS
20
+ - MSTx-NectarCam
21
+ - MSTx-FlashCam
22
22
  - SSTS
23
23
  - SCTS
24
24
  activity:
@@ -26,8 +26,8 @@ instrument:
26
26
  type:
27
27
  - LSTN
28
28
  - LSTS
29
- - MSTN
30
- - MSTS
29
+ - MSTx-NectarCam
30
+ - MSTx-FlashCam
31
31
  - SSTS
32
32
  - SCTS
33
33
  activity:
@@ -22,8 +22,8 @@ instrument:
22
22
  type:
23
23
  - LSTN
24
24
  - LSTS
25
- - MSTN
26
- - MSTS
25
+ - MSTx-NectarCam
26
+ - MSTx-FlashCam
27
27
  - SSTS
28
28
  - SCTS
29
29
  activity:
@@ -28,8 +28,8 @@ instrument:
28
28
  type:
29
29
  - LSTN
30
30
  - LSTS
31
- - MSTN
32
- - MSTS
31
+ - MSTx-NectarCam
32
+ - MSTx-FlashCam
33
33
  - SSTS
34
34
  - SCTS
35
35
  activity:
@@ -19,8 +19,8 @@ instrument:
19
19
  type:
20
20
  - LSTN
21
21
  - LSTS
22
- - MSTN
23
- - MSTS
22
+ - MSTx-NectarCam
23
+ - MSTx-FlashCam
24
24
  - SSTS
25
25
  - SCTS
26
26
  activity:
@@ -29,8 +29,8 @@ instrument:
29
29
  type:
30
30
  - LSTN
31
31
  - LSTS
32
- - MSTN
33
- - MSTS
32
+ - MSTx-NectarCam
33
+ - MSTx-FlashCam
34
34
  - SSTS
35
35
  - SCTS
36
36
  activity:
@@ -24,8 +24,8 @@ instrument:
24
24
  type:
25
25
  - LSTN
26
26
  - LSTS
27
- - MSTN
28
- - MSTS
27
+ - MSTx-NectarCam
28
+ - MSTx-FlashCam
29
29
  - SSTS
30
30
  - SCTS
31
31
  activity:
@@ -25,8 +25,8 @@ instrument:
25
25
  type:
26
26
  - LSTN
27
27
  - LSTS
28
- - MSTN
29
- - MSTS
28
+ - MSTx-NectarCam
29
+ - MSTx-FlashCam
30
30
  - SSTS
31
31
  - SCTS
32
32
  activity:
@@ -22,8 +22,8 @@ instrument:
22
22
  type:
23
23
  - LSTN
24
24
  - LSTS
25
- - MSTN
26
- - MSTS
25
+ - MSTx-NectarCam
26
+ - MSTx-FlashCam
27
27
  - SSTS
28
28
  - SCTS
29
29
  activity:
@@ -22,8 +22,8 @@ instrument:
22
22
  type:
23
23
  - LSTN
24
24
  - LSTS
25
- - MSTN
26
- - MSTS
25
+ - MSTx-NectarCam
26
+ - MSTx-FlashCam
27
27
  - SSTS
28
28
  - SCTS
29
29
  activity:
@@ -27,8 +27,8 @@ instrument:
27
27
  type:
28
28
  - LSTN
29
29
  - LSTS
30
- - MSTN
31
- - MSTS
30
+ - MSTx-NectarCam
31
+ - MSTx-FlashCam
32
32
  activity:
33
33
  setting:
34
34
  - SetParameterFromExternal
@@ -22,8 +22,8 @@ data:
22
22
  instrument:
23
23
  class: Camera
24
24
  type:
25
- - MSTN
26
- - MSTS
25
+ - MSTx-NectarCam
26
+ - MSTx-FlashCam
27
27
  activity:
28
28
  setting:
29
29
  - SetParameterFromExternal
@@ -22,8 +22,8 @@ data:
22
22
  instrument:
23
23
  class: Camera
24
24
  type:
25
- - MSTN
26
- - MSTS
25
+ - MSTx-NectarCam
26
+ - MSTx-FlashCam
27
27
  activity:
28
28
  setting:
29
29
  - SetParameterFromExternal
@@ -21,8 +21,8 @@ data:
21
21
  instrument:
22
22
  class: Camera
23
23
  type:
24
- - MSTN
25
- - MSTS
24
+ - MSTx-NectarCam
25
+ - MSTx-FlashCam
26
26
  activity:
27
27
  setting:
28
28
  - SetParameterFromExternal
@@ -18,8 +18,8 @@ data:
18
18
  instrument:
19
19
  class: Camera
20
20
  type:
21
- - MSTN
22
- - MSTS
21
+ - MSTx-NectarCam
22
+ - MSTx-FlashCam
23
23
  activity:
24
24
  setting:
25
25
  - SetParameterFromExternal
@@ -23,8 +23,8 @@ data:
23
23
  instrument:
24
24
  class: Camera
25
25
  type:
26
- - MSTN
27
- - MSTS
26
+ - MSTx-NectarCam
27
+ - MSTx-FlashCam
28
28
  activity:
29
29
  setting:
30
30
  - SetParameterFromExternal
@@ -28,8 +28,8 @@ data:
28
28
  instrument:
29
29
  class: Camera
30
30
  type:
31
- - MSTN
32
- - MSTS
31
+ - MSTx-NectarCam
32
+ - MSTx-FlashCam
33
33
  activity:
34
34
  setting:
35
35
  - SetParameterFromExternal
@@ -22,8 +22,8 @@ data:
22
22
  instrument:
23
23
  class: Camera
24
24
  type:
25
- - MSTN
26
- - MSTS
25
+ - MSTx-NectarCam
26
+ - MSTx-FlashCam
27
27
  activity:
28
28
  setting:
29
29
  - SetParameterFromExternal
@@ -29,8 +29,8 @@ data:
29
29
  instrument:
30
30
  class: Camera
31
31
  type:
32
- - MSTN
33
- - MSTS
32
+ - MSTx-NectarCam
33
+ - MSTx-FlashCam
34
34
  activity:
35
35
  setting:
36
36
  - SetParameterFromExternal
@@ -28,8 +28,8 @@ data:
28
28
  instrument:
29
29
  class: Camera
30
30
  type:
31
- - MSTN
32
- - MSTS
31
+ - MSTx-NectarCam
32
+ - MSTx-FlashCam
33
33
  activity:
34
34
  setting:
35
35
  - SetParameterFromExternal
@@ -16,8 +16,8 @@ data:
16
16
  instrument:
17
17
  class: Camera
18
18
  type:
19
- - MSTN
20
- - MSTS
19
+ - MSTx-NectarCam
20
+ - MSTx-FlashCam
21
21
  activity:
22
22
  setting:
23
23
  - SetParameterFromExternal
@@ -1,6 +1,47 @@
1
1
  %YAML 1.2
2
2
  ---
3
3
  title: Schema for dsum_threshold model parameter
4
+ version: 0.2.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/src/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: dsum_threshold
9
+ description: |-
10
+ The amplitude level above pedestal sum above which a
11
+ digital sum leads to a telescope trigger.
12
+ Note that, like for discriminator/comparator and analog sum, the signal
13
+ must exceed (\'>\') the threshold here before we declare the telescope
14
+ triggered. The assigned threshold value would have to be one count lower
15
+ than in a camera-internal trigger implementation (like MSTx-FlashCam) where
16
+ reaching (\'>=\') the threshold is enough.
17
+ short_description: Amplitude level above which a digital sum leads to a telescope
18
+ trigger.
19
+ data:
20
+ - type: int64
21
+ unit: count
22
+ default: 0
23
+ allowed_range:
24
+ min: 0
25
+ condition: default_trigger==DigitalSum
26
+ instrument:
27
+ class: Camera
28
+ type:
29
+ - MSTx-NectarCam
30
+ - MSTx-FlashCam
31
+ activity:
32
+ setting:
33
+ - SetParameterFromExternal
34
+ - SetTriggerThresholdsFromRateScan
35
+ validation:
36
+ - ValidateParameterByExpert
37
+ - ValidateTriggerPerformance
38
+ source:
39
+ - Observation execution
40
+ simulation_software:
41
+ - name: sim_telarray
42
+ ...
43
+ ---
44
+ title: Schema for dsum_threshold model parameter
4
45
  version: 0.1.0
5
46
  meta_schema: simpipe-schema
6
47
  meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/src/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
@@ -12,7 +53,7 @@ description: |-
12
53
  Note that, like for discriminator/comparator and analog sum, the signal
13
54
  must exceed (\'>\') the threshold here before we declare the telescope
14
55
  triggered. The assigned threshold value would have to be one count lower
15
- than in a camera-internal trigger implementation (like MSTS) where
56
+ than in a camera-internal trigger implementation (like MSTx-FlashCam) where
16
57
  reaching (\'>=\') the threshold is enough.
17
58
  short_description: Amplitude level above which a digital sum leads to a telescope
18
59
  trigger.
@@ -26,8 +67,8 @@ data:
26
67
  instrument:
27
68
  class: Camera
28
69
  type:
29
- - MSTN
30
- - MSTS
70
+ - MSTx-NectarCam
71
+ - MSTx-FlashCam
31
72
  activity:
32
73
  setting:
33
74
  - SetParameterFromExternal
@@ -26,8 +26,8 @@ data:
26
26
  instrument:
27
27
  class: Camera
28
28
  type:
29
- - MSTN
30
- - MSTS
29
+ - MSTx-NectarCam
30
+ - MSTx-FlashCam
31
31
  activity:
32
32
  setting:
33
33
  - SetParameterFromExternal
@@ -74,8 +74,8 @@ instrument:
74
74
  type:
75
75
  - LSTN
76
76
  - LSTS
77
- - MSTN
78
- - MSTS
77
+ - MSTx-NectarCam
78
+ - MSTx-FlashCam
79
79
  - SSTS
80
80
  - SCTS
81
81
  activity:
@@ -20,8 +20,8 @@ instrument:
20
20
  type:
21
21
  - LSTN
22
22
  - LSTS
23
- - MSTN
24
- - MSTS
23
+ - MSTx-NectarCam
24
+ - MSTx-FlashCam
25
25
  - SSTS
26
26
  - SCTS
27
27
  activity:
@@ -26,8 +26,8 @@ instrument:
26
26
  type:
27
27
  - LSTN
28
28
  - LSTS
29
- - MSTN
30
- - MSTS
29
+ - MSTx-NectarCam
30
+ - MSTx-FlashCam
31
31
  - SSTS
32
32
  - SCTS
33
33
  activity:
@@ -25,8 +25,8 @@ instrument:
25
25
  type:
26
26
  - LSTN
27
27
  - LSTS
28
- - MSTN
29
- - MSTS
28
+ - MSTx-NectarCam
29
+ - MSTx-FlashCam
30
30
  - SSTS
31
31
  - SCTS
32
32
  activity:
@@ -32,8 +32,8 @@ instrument:
32
32
  type:
33
33
  - LSTN
34
34
  - LSTS
35
- - MSTN
36
- - MSTS
35
+ - MSTx-NectarCam
36
+ - MSTx-FlashCam
37
37
  - SSTS
38
38
  - SCTS
39
39
  activity: