gammasimtools 0.12.0__py3-none-any.whl → 0.14.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 (276) hide show
  1. {gammasimtools-0.12.0.dist-info → gammasimtools-0.14.0.dist-info}/METADATA +3 -3
  2. {gammasimtools-0.12.0.dist-info → gammasimtools-0.14.0.dist-info}/RECORD +257 -263
  3. {gammasimtools-0.12.0.dist-info → gammasimtools-0.14.0.dist-info}/WHEEL +1 -1
  4. {gammasimtools-0.12.0.dist-info → gammasimtools-0.14.0.dist-info}/entry_points.txt +4 -1
  5. simtools/_version.py +2 -2
  6. simtools/applications/convert_all_model_parameters_from_simtel.py +77 -88
  7. simtools/applications/convert_geo_coordinates_of_array_elements.py +1 -1
  8. simtools/applications/db_add_file_to_db.py +15 -0
  9. simtools/applications/db_add_value_from_json_to_db.py +18 -1
  10. simtools/applications/db_get_parameter_from_db.py +52 -22
  11. simtools/applications/derive_ctao_array_layouts.py +120 -0
  12. simtools/applications/derive_photon_electron_spectrum.py +30 -2
  13. simtools/applications/docs_produce_array_element_report.py +42 -26
  14. simtools/applications/docs_produce_model_parameter_reports.py +28 -21
  15. simtools/applications/generate_simtel_event_data.py +117 -0
  16. simtools/applications/plot_tabular_data.py +14 -2
  17. simtools/applications/print_version.py +81 -0
  18. simtools/applications/production_derive_corsika_limits.py +240 -0
  19. simtools/applications/production_scale_events.py +59 -36
  20. simtools/applications/run_application.py +47 -18
  21. simtools/applications/simulate_light_emission.py +115 -247
  22. simtools/applications/simulate_prod_htcondor_generator.py +2 -2
  23. simtools/applications/submit_data_from_external.py +1 -1
  24. simtools/applications/submit_model_parameter_from_external.py +2 -1
  25. simtools/camera/single_photon_electron_spectrum.py +169 -17
  26. simtools/constants.py +7 -0
  27. simtools/data_model/metadata_collector.py +159 -61
  28. simtools/data_model/model_data_writer.py +18 -61
  29. simtools/data_model/schema.py +2 -1
  30. simtools/data_model/validate_data.py +5 -3
  31. simtools/db/db_handler.py +123 -33
  32. simtools/dependencies.py +38 -3
  33. simtools/layout/array_layout.py +1 -0
  34. simtools/layout/ctao_array_layouts.py +172 -0
  35. simtools/model/array_model.py +3 -4
  36. simtools/model/model_parameter.py +30 -118
  37. simtools/production_configuration/derive_corsika_limits.py +328 -0
  38. simtools/production_configuration/event_scaler.py +2 -2
  39. simtools/ray_tracing/mirror_panel_psf.py +1 -1
  40. simtools/reporting/docs_auto_report_generator.py +217 -0
  41. simtools/reporting/docs_read_parameters.py +298 -143
  42. simtools/schemas/application_workflow.metaschema.yml +3 -0
  43. simtools/schemas/metadata.metaschema.yml +7 -6
  44. simtools/schemas/model_parameter.metaschema.yml +13 -4
  45. simtools/schemas/model_parameter_and_data_schema.metaschema.yml +19 -5
  46. simtools/schemas/model_parameters/adjust_gain.schema.yml +1 -1
  47. simtools/schemas/model_parameters/altitude.schema.yml +1 -1
  48. simtools/schemas/model_parameters/array_coordinates.schema.yml +1 -1
  49. simtools/schemas/model_parameters/array_coordinates_UTM.schema.yml +3 -3
  50. simtools/schemas/model_parameters/array_element_position_ground.schema.yml +3 -3
  51. simtools/schemas/model_parameters/array_element_position_utm.schema.yml +3 -3
  52. simtools/schemas/model_parameters/array_layouts.schema.yml +3 -0
  53. simtools/schemas/model_parameters/array_window.schema.yml +1 -1
  54. simtools/schemas/model_parameters/asum_clipping.schema.yml +1 -1
  55. simtools/schemas/model_parameters/asum_offset.schema.yml +1 -1
  56. simtools/schemas/model_parameters/asum_shaping.schema.yml +1 -1
  57. simtools/schemas/model_parameters/asum_threshold.schema.yml +1 -1
  58. simtools/schemas/model_parameters/atmospheric_profile.schema.yml +1 -1
  59. simtools/schemas/model_parameters/axes_offsets.schema.yml +2 -2
  60. simtools/schemas/model_parameters/camera_body_diameter.schema.yml +1 -1
  61. simtools/schemas/model_parameters/camera_body_shape.schema.yml +1 -1
  62. simtools/schemas/model_parameters/camera_config_file.schema.yml +1 -1
  63. simtools/schemas/model_parameters/camera_config_rotate.schema.yml +1 -1
  64. simtools/schemas/model_parameters/camera_degraded_efficiency.schema.yml +1 -1
  65. simtools/schemas/model_parameters/camera_degraded_map.schema.yml +1 -1
  66. simtools/schemas/model_parameters/camera_depth.schema.yml +1 -1
  67. simtools/schemas/model_parameters/camera_filter.schema.yml +1 -1
  68. simtools/schemas/model_parameters/camera_pixels.schema.yml +1 -1
  69. simtools/schemas/model_parameters/camera_transmission.schema.yml +1 -1
  70. simtools/schemas/model_parameters/channels_per_chip.schema.yml +1 -1
  71. simtools/schemas/model_parameters/corsika_iact_io_buffer.schema.yml +1 -1
  72. simtools/schemas/model_parameters/corsika_iact_max_bunches.schema.yml +1 -1
  73. simtools/schemas/model_parameters/corsika_iact_split_auto.schema.yml +1 -1
  74. simtools/schemas/model_parameters/corsika_observation_level.schema.yml +1 -1
  75. simtools/schemas/model_parameters/dark_events.schema.yml +1 -1
  76. simtools/schemas/model_parameters/disc_bins.schema.yml +1 -1
  77. simtools/schemas/model_parameters/disc_start.schema.yml +1 -1
  78. simtools/schemas/model_parameters/discriminator_amplitude.schema.yml +1 -1
  79. simtools/schemas/model_parameters/discriminator_fall_time.schema.yml +1 -1
  80. simtools/schemas/model_parameters/discriminator_gate_length.schema.yml +1 -1
  81. simtools/schemas/model_parameters/discriminator_hysteresis.schema.yml +1 -1
  82. simtools/schemas/model_parameters/discriminator_output_amplitude.schema.yml +1 -1
  83. simtools/schemas/model_parameters/discriminator_output_var_percent.schema.yml +1 -1
  84. simtools/schemas/model_parameters/discriminator_rise_time.schema.yml +1 -1
  85. simtools/schemas/model_parameters/discriminator_scale_threshold.schema.yml +1 -1
  86. simtools/schemas/model_parameters/discriminator_sigsum_over_threshold.schema.yml +1 -1
  87. simtools/schemas/model_parameters/discriminator_threshold.schema.yml +1 -1
  88. simtools/schemas/model_parameters/discriminator_time_over_threshold.schema.yml +1 -1
  89. simtools/schemas/model_parameters/discriminator_var_gate_length.schema.yml +1 -1
  90. simtools/schemas/model_parameters/discriminator_var_sigsum_over_threshold.schema.yml +1 -1
  91. simtools/schemas/model_parameters/discriminator_var_threshold.schema.yml +1 -1
  92. simtools/schemas/model_parameters/discriminator_var_time_over_threshold.schema.yml +1 -1
  93. simtools/schemas/model_parameters/dish_shape_length.schema.yml +1 -1
  94. simtools/schemas/model_parameters/dsum_clipping.schema.yml +1 -1
  95. simtools/schemas/model_parameters/dsum_ignore_below.schema.yml +1 -1
  96. simtools/schemas/model_parameters/dsum_offset.schema.yml +1 -1
  97. simtools/schemas/model_parameters/dsum_pre_clipping.schema.yml +1 -1
  98. simtools/schemas/model_parameters/dsum_prescale.schema.yml +2 -2
  99. simtools/schemas/model_parameters/dsum_presum_max.schema.yml +1 -1
  100. simtools/schemas/model_parameters/dsum_presum_shift.schema.yml +1 -1
  101. simtools/schemas/model_parameters/dsum_shaping.schema.yml +1 -1
  102. simtools/schemas/model_parameters/dsum_threshold.schema.yml +1 -1
  103. simtools/schemas/model_parameters/dsum_zero_clip.schema.yml +1 -1
  104. simtools/schemas/model_parameters/effective_focal_length.schema.yml +5 -5
  105. simtools/schemas/model_parameters/epsg_code.schema.yml +1 -1
  106. simtools/schemas/model_parameters/fadc_amplitude.schema.yml +1 -1
  107. simtools/schemas/model_parameters/fadc_bins.schema.yml +1 -1
  108. simtools/schemas/model_parameters/fadc_compensate_pedestal.schema.yml +1 -1
  109. simtools/schemas/model_parameters/fadc_dev_pedestal.schema.yml +2 -2
  110. simtools/schemas/model_parameters/fadc_err_compensate_pedestal.schema.yml +1 -1
  111. simtools/schemas/model_parameters/fadc_err_pedestal.schema.yml +1 -1
  112. simtools/schemas/model_parameters/fadc_lg_amplitude.schema.yml +1 -1
  113. simtools/schemas/model_parameters/fadc_lg_compensate_pedestal.schema.yml +1 -1
  114. simtools/schemas/model_parameters/fadc_lg_dev_pedestal.schema.yml +2 -2
  115. simtools/schemas/model_parameters/fadc_lg_err_compensate_pedestal.schema.yml +1 -1
  116. simtools/schemas/model_parameters/fadc_lg_err_pedestal.schema.yml +1 -1
  117. simtools/schemas/model_parameters/fadc_lg_max_signal.schema.yml +1 -1
  118. simtools/schemas/model_parameters/fadc_lg_max_sum.schema.yml +4 -4
  119. simtools/schemas/model_parameters/fadc_lg_noise.schema.yml +1 -1
  120. simtools/schemas/model_parameters/fadc_lg_pedestal.schema.yml +1 -1
  121. simtools/schemas/model_parameters/fadc_lg_sensitivity.schema.yml +1 -1
  122. simtools/schemas/model_parameters/fadc_lg_sysvar_pedestal.schema.yml +1 -1
  123. simtools/schemas/model_parameters/fadc_lg_var_pedestal.schema.yml +1 -1
  124. simtools/schemas/model_parameters/fadc_lg_var_sensitivity.schema.yml +1 -1
  125. simtools/schemas/model_parameters/fadc_max_signal.schema.yml +1 -1
  126. simtools/schemas/model_parameters/fadc_max_sum.schema.yml +4 -4
  127. simtools/schemas/model_parameters/fadc_mhz.schema.yml +1 -1
  128. simtools/schemas/model_parameters/fadc_noise.schema.yml +1 -1
  129. simtools/schemas/model_parameters/fadc_pedestal.schema.yml +1 -1
  130. simtools/schemas/model_parameters/fadc_sensitivity.schema.yml +1 -1
  131. simtools/schemas/model_parameters/fadc_sum_bins.schema.yml +1 -1
  132. simtools/schemas/model_parameters/fadc_sum_offset.schema.yml +1 -1
  133. simtools/schemas/model_parameters/fadc_sysvar_pedestal.schema.yml +1 -1
  134. simtools/schemas/model_parameters/fadc_var_pedestal.schema.yml +1 -1
  135. simtools/schemas/model_parameters/fadc_var_sensitivity.schema.yml +1 -1
  136. simtools/schemas/model_parameters/fake_mirror_list.schema.yml +1 -1
  137. simtools/schemas/model_parameters/focal_length.schema.yml +1 -1
  138. simtools/schemas/model_parameters/focal_surface_parameters.schema.yml +20 -20
  139. simtools/schemas/model_parameters/focal_surface_ref_radius.schema.yml +1 -1
  140. simtools/schemas/model_parameters/focus_offset.schema.yml +4 -4
  141. simtools/schemas/model_parameters/gain_variation.schema.yml +1 -1
  142. simtools/schemas/model_parameters/geomag_horizontal.schema.yml +1 -1
  143. simtools/schemas/model_parameters/geomag_rotation.schema.yml +1 -1
  144. simtools/schemas/model_parameters/geomag_vertical.schema.yml +1 -1
  145. simtools/schemas/model_parameters/hg_lg_variation.schema.yml +1 -1
  146. simtools/schemas/model_parameters/iobuf_maximum.schema.yml +1 -1
  147. simtools/schemas/model_parameters/iobuf_output_maximum.schema.yml +1 -1
  148. simtools/schemas/model_parameters/laser_events.schema.yml +1 -1
  149. simtools/schemas/model_parameters/laser_external_trigger.schema.yml +1 -1
  150. simtools/schemas/model_parameters/laser_photons.schema.yml +1 -1
  151. simtools/schemas/model_parameters/laser_pulse_exptime.schema.yml +1 -1
  152. simtools/schemas/model_parameters/laser_pulse_offset.schema.yml +1 -1
  153. simtools/schemas/model_parameters/laser_pulse_sigtime.schema.yml +1 -1
  154. simtools/schemas/model_parameters/laser_pulse_twidth.schema.yml +1 -1
  155. simtools/schemas/model_parameters/laser_var_photons.schema.yml +1 -1
  156. simtools/schemas/model_parameters/laser_wavelength.schema.yml +1 -1
  157. simtools/schemas/model_parameters/led_events.schema.yml +1 -1
  158. simtools/schemas/model_parameters/led_photons.schema.yml +1 -1
  159. simtools/schemas/model_parameters/led_pulse_offset.schema.yml +1 -1
  160. simtools/schemas/model_parameters/led_pulse_sigtime.schema.yml +1 -1
  161. simtools/schemas/model_parameters/led_var_photons.schema.yml +1 -1
  162. simtools/schemas/model_parameters/lightguide_efficiency_vs_incidence_angle.schema.yml +1 -1
  163. simtools/schemas/model_parameters/lightguide_efficiency_vs_wavelength.schema.yml +1 -1
  164. simtools/schemas/model_parameters/min_photoelectrons.schema.yml +1 -1
  165. simtools/schemas/model_parameters/min_photons.schema.yml +1 -1
  166. simtools/schemas/model_parameters/mirror_align_random_distance.schema.yml +1 -1
  167. simtools/schemas/model_parameters/mirror_align_random_horizontal.schema.yml +4 -4
  168. simtools/schemas/model_parameters/mirror_align_random_vertical.schema.yml +4 -4
  169. simtools/schemas/model_parameters/mirror_class.schema.yml +1 -1
  170. simtools/schemas/model_parameters/mirror_degraded_reflection.schema.yml +1 -1
  171. simtools/schemas/model_parameters/mirror_focal_length.schema.yml +1 -1
  172. simtools/schemas/model_parameters/mirror_list.schema.yml +1 -1
  173. simtools/schemas/model_parameters/mirror_offset.schema.yml +1 -1
  174. simtools/schemas/model_parameters/mirror_panel_2f_measurements.schema.yml +3 -3
  175. simtools/schemas/model_parameters/mirror_reflection_random_angle.schema.yml +3 -3
  176. simtools/schemas/model_parameters/multiplicity_offset.schema.yml +1 -1
  177. simtools/schemas/model_parameters/muon_mono_threshold.schema.yml +45 -0
  178. simtools/schemas/model_parameters/nsb_autoscale_airmass.schema.yml +2 -2
  179. simtools/schemas/model_parameters/nsb_gain_drop_scale.schema.yml +1 -1
  180. simtools/schemas/model_parameters/nsb_offaxis.schema.yml +5 -5
  181. simtools/schemas/model_parameters/nsb_pixel_rate.schema.yml +1 -1
  182. simtools/schemas/model_parameters/nsb_reference_spectrum.schema.yml +1 -1
  183. simtools/schemas/model_parameters/nsb_reference_value.schema.yml +1 -1
  184. simtools/schemas/model_parameters/nsb_scaling_factor.schema.yml +1 -1
  185. simtools/schemas/model_parameters/{nsb_skymap.schema.yml → nsb_sky_map.schema.yml} +1 -1
  186. simtools/schemas/model_parameters/nsb_spectrum.schema.yml +2 -2
  187. simtools/schemas/model_parameters/num_gains.schema.yml +1 -1
  188. simtools/schemas/model_parameters/pedestal_events.schema.yml +1 -1
  189. simtools/schemas/model_parameters/photon_delay.schema.yml +1 -1
  190. simtools/schemas/model_parameters/photons_per_run.schema.yml +1 -1
  191. simtools/schemas/model_parameters/pixel_cells.schema.yml +1 -1
  192. simtools/schemas/model_parameters/pixels_parallel.schema.yml +1 -1
  193. simtools/schemas/model_parameters/pixeltrg_time_step.schema.yml +1 -1
  194. simtools/schemas/model_parameters/pm_average_gain.schema.yml +1 -1
  195. simtools/schemas/model_parameters/pm_collection_efficiency.schema.yml +1 -1
  196. simtools/schemas/model_parameters/pm_gain_index.schema.yml +1 -1
  197. simtools/schemas/model_parameters/pm_transit_time.schema.yml +4 -4
  198. simtools/schemas/model_parameters/pm_voltage_variation.schema.yml +1 -1
  199. simtools/schemas/model_parameters/primary_mirror_degraded_map.schema.yml +8 -4
  200. simtools/schemas/model_parameters/primary_mirror_diameter.schema.yml +1 -1
  201. simtools/schemas/model_parameters/primary_mirror_hole_diameter.schema.yml +1 -1
  202. simtools/schemas/model_parameters/primary_mirror_parameters.schema.yml +20 -20
  203. simtools/schemas/model_parameters/primary_mirror_ref_radius.schema.yml +1 -1
  204. simtools/schemas/model_parameters/primary_mirror_segmentation.schema.yml +1 -1
  205. simtools/schemas/model_parameters/qe_variation.schema.yml +1 -1
  206. simtools/schemas/model_parameters/random_focal_length.schema.yml +2 -2
  207. simtools/schemas/model_parameters/random_mono_probability.schema.yml +38 -0
  208. simtools/schemas/model_parameters/reference_point_altitude.schema.yml +1 -1
  209. simtools/schemas/model_parameters/reference_point_latitude.schema.yml +4 -1
  210. simtools/schemas/model_parameters/reference_point_longitude.schema.yml +4 -1
  211. simtools/schemas/model_parameters/reference_point_utm_east.schema.yml +1 -1
  212. simtools/schemas/model_parameters/reference_point_utm_north.schema.yml +1 -1
  213. simtools/schemas/model_parameters/secondary_mirror_baffle.schema.yml +5 -5
  214. simtools/schemas/model_parameters/secondary_mirror_degraded_map.schema.yml +1 -1
  215. simtools/schemas/model_parameters/secondary_mirror_degraded_reflection.schema.yml +1 -1
  216. simtools/schemas/model_parameters/secondary_mirror_diameter.schema.yml +1 -1
  217. simtools/schemas/model_parameters/secondary_mirror_hole_diameter.schema.yml +1 -1
  218. simtools/schemas/model_parameters/secondary_mirror_parameters.schema.yml +20 -20
  219. simtools/schemas/model_parameters/secondary_mirror_ref_radius.schema.yml +1 -1
  220. simtools/schemas/model_parameters/secondary_mirror_segmentation.schema.yml +1 -1
  221. simtools/schemas/model_parameters/secondary_mirror_shadow_diameter.schema.yml +1 -1
  222. simtools/schemas/model_parameters/secondary_mirror_shadow_offset.schema.yml +1 -1
  223. simtools/schemas/model_parameters/stars.schema.yml +36 -0
  224. simtools/schemas/model_parameters/store_photoelectrons.schema.yml +1 -1
  225. simtools/schemas/model_parameters/tailcut_scale.schema.yml +1 -1
  226. simtools/schemas/model_parameters/telescope_axis_height.schema.yml +1 -1
  227. simtools/schemas/model_parameters/telescope_random_angle.schema.yml +1 -1
  228. simtools/schemas/model_parameters/telescope_random_error.schema.yml +1 -1
  229. simtools/schemas/model_parameters/telescope_sphere_radius.schema.yml +1 -1
  230. simtools/schemas/model_parameters/telescope_transmission.schema.yml +6 -6
  231. simtools/schemas/model_parameters/teltrig_min_sigsum.schema.yml +1 -1
  232. simtools/schemas/model_parameters/teltrig_min_time.schema.yml +1 -1
  233. simtools/schemas/model_parameters/transit_time_calib_error.schema.yml +1 -1
  234. simtools/schemas/model_parameters/transit_time_compensate_error.schema.yml +1 -1
  235. simtools/schemas/model_parameters/transit_time_compensate_step.schema.yml +1 -1
  236. simtools/schemas/model_parameters/transit_time_error.schema.yml +1 -1
  237. simtools/schemas/model_parameters/transit_time_jitter.schema.yml +1 -1
  238. simtools/schemas/model_parameters/trigger_current_limit.schema.yml +1 -1
  239. simtools/schemas/model_parameters/trigger_delay_compensation.schema.yml +4 -4
  240. simtools/schemas/model_parameters/trigger_pixels.schema.yml +1 -1
  241. simtools/schemas/plot_configuration.metaschema.yml +162 -0
  242. simtools/schemas/production_tables.schema.yml +1 -1
  243. simtools/simtel/simtel_config_reader.py +85 -34
  244. simtools/simtel/simtel_config_writer.py +70 -38
  245. simtools/simtel/simtel_io_event_reader.py +278 -0
  246. simtools/simtel/simtel_io_event_writer.py +317 -0
  247. simtools/simtel/simtel_table_reader.py +4 -0
  248. simtools/simtel/simulator_light_emission.py +181 -67
  249. simtools/simulator.py +2 -2
  250. simtools/testing/configuration.py +17 -0
  251. simtools/utils/general.py +83 -16
  252. simtools/utils/geometry.py +19 -0
  253. simtools/utils/names.py +14 -3
  254. simtools/visualization/plot_tables.py +25 -20
  255. simtools/visualization/visualize.py +73 -25
  256. simtools/_dev_version/__init__.py +0 -9
  257. simtools/applications/__init__.py +0 -0
  258. simtools/applications/production_derive_limits.py +0 -95
  259. simtools/configuration/__init__.py +0 -0
  260. simtools/corsika/__init__.py +0 -0
  261. simtools/data_model/__init__.py +0 -0
  262. simtools/db/__init__.py +0 -0
  263. simtools/io_operations/__init__.py +0 -0
  264. simtools/job_execution/__init__.py +0 -0
  265. simtools/layout/__init__.py +0 -0
  266. simtools/model/__init__.py +0 -0
  267. simtools/production_configuration/limits_calculation.py +0 -202
  268. simtools/ray_tracing/__init__.py +0 -0
  269. simtools/runners/__init__.py +0 -0
  270. simtools/simtel/__init__.py +0 -0
  271. simtools/simtel/simtel_io_events.py +0 -265
  272. simtools/testing/__init__.py +0 -0
  273. simtools/utils/__init__.py +0 -0
  274. simtools/visualization/__init__.py +0 -0
  275. {gammasimtools-0.12.0.dist-info → gammasimtools-0.14.0.dist-info/licenses}/LICENSE +0 -0
  276. {gammasimtools-0.12.0.dist-info → gammasimtools-0.14.0.dist-info}/top_level.txt +0 -0
@@ -24,22 +24,22 @@ short_description: |-
24
24
  Distance of the starlight focus from the camera pixels (light guides)
25
25
  entry.
26
26
  data:
27
- - type: double
27
+ - type: float64
28
28
  name: focus_offset
29
29
  description: Constant focus offset $\Delta_0$.
30
30
  unit: cm
31
31
  default: 2.8
32
- - type: double
32
+ - type: float64
33
33
  description: Zenith angle $\Delta_0$ at which minimum is reached.
34
34
  unit: deg
35
35
  default: 28.0
36
- - type: double
36
+ - type: float64
37
37
  description: |-
38
38
  Scaling term $k_c$ in
39
39
  $\Delta_c = (\cos(\theta)-\cos(\theta_0)) / k_c$.
40
40
  unit: dimensionless
41
41
  default: 0.0
42
- - type: double
42
+ - type: float64
43
43
  description: |-
44
44
  Scaling term $k_s$ in
45
45
  $\Delta_s = (\sin(\theta)-\sin(\theta_0)) / k_s$.
@@ -15,7 +15,7 @@ description: |-
15
15
  The parameter sets the Gaussian r.m.s. spread of random fluctuations, used
16
16
  as \texttt{amplitude *= RandGaus(1., gain_variation)}.
17
17
  data:
18
- - type: double
18
+ - type: float64
19
19
  unit: dimensionless
20
20
  default: 0.02
21
21
  allowed_range:
@@ -11,7 +11,7 @@ description: |-
11
11
  Horizontal component in direction of magnetic North of the geomagnetic
12
12
  field at given site.
13
13
  data:
14
- - type: double
14
+ - type: float64
15
15
  unit: uT
16
16
  instrument:
17
17
  class: Site
@@ -11,7 +11,7 @@ description: |-
11
11
  Rotation angle between geographic South and geomagnetic North direction
12
12
  (corresponds to CORSIKA ARRANG parameter).
13
13
  data:
14
- - type: double
14
+ - type: float64
15
15
  unit: deg
16
16
  allowed_range:
17
17
  min: -180.0
@@ -11,7 +11,7 @@ description: |-
11
11
  Vertical component in downwards direction of the geomagnetic
12
12
  field at given site.
13
13
  data:
14
- - type: double
14
+ - type: float64
15
15
  unit: uT
16
16
  instrument:
17
17
  class: Site
@@ -10,7 +10,7 @@ description: |-
10
10
  Relative pixel-to-pixel variation of the ratio of high-gain to
11
11
  low-gain amplitudes.
12
12
  data:
13
- - type: double
13
+ - type: float64
14
14
  required: false
15
15
  condition: num_gains==2
16
16
  default: 0.0
@@ -9,7 +9,7 @@ name: iobuf_maximum
9
9
  description: |-
10
10
  Buffer limits for input and output of eventio data.
11
11
  data:
12
- - type: int
12
+ - type: int64
13
13
  unit: byte
14
14
  default: 200000000
15
15
  allowed_range:
@@ -9,7 +9,7 @@ name: iobuf_output_maximum
9
9
  description: |-
10
10
  The maximum size of the I/O buffer for output data, including raw data for all telescopes.
11
11
  data:
12
- - type: int
12
+ - type: int64
13
13
  unit: byte
14
14
  default: 20000000
15
15
  allowed_range:
@@ -14,7 +14,7 @@ description: |-
14
14
  short_description: |-
15
15
  Relative variation of laser shots from shot to shot.
16
16
  data:
17
- - type: int
17
+ - type: int64
18
18
  unit: dimensionless
19
19
  default: 0
20
20
  allowed_range:
@@ -13,7 +13,7 @@ description: |-
13
13
  short_description: |-
14
14
  Use external trigger for calibration.
15
15
  data:
16
- - type: int
16
+ - type: int64
17
17
  default: 0
18
18
  allowed_range:
19
19
  min: 0
@@ -11,7 +11,7 @@ description: |-
11
11
  short_description: |-
12
12
  Number of laser photons at each photo detector.
13
13
  data:
14
- - type: double
14
+ - type: float64
15
15
  unit: dimensionless
16
16
  default: 500
17
17
  allowed_range:
@@ -13,7 +13,7 @@ description: |-
13
13
  short_description: |-
14
14
  Exponentially decaying pulse shape time.
15
15
  data:
16
- - type: double
16
+ - type: float64
17
17
  unit: "ns"
18
18
  default: 0
19
19
  allowed_range:
@@ -13,7 +13,7 @@ description: |-
13
13
  short_description: |-
14
14
  Shift position of the signal in the read-out window.
15
15
  data:
16
- - type: double
16
+ - type: float64
17
17
  unit: "ns"
18
18
  default: 0.0
19
19
  allowed_range:
@@ -12,7 +12,7 @@ description: |-
12
12
  short_description: |-
13
13
  Gaussian pulse time width.
14
14
  data:
15
- - type: double
15
+ - type: float64
16
16
  unit: "ns"
17
17
  default: 0
18
18
  allowed_range:
@@ -12,7 +12,7 @@ description: |-
12
12
  short_description: |-
13
13
  Top-Hat pulse time full-width.
14
14
  data:
15
- - type: double
15
+ - type: float64
16
16
  unit: "ns"
17
17
  default: 0
18
18
  allowed_range:
@@ -11,7 +11,7 @@ description: |-
11
11
  short_description: |-
12
12
  Relative variation of laser shots from shot to shot.
13
13
  data:
14
- - type: double
14
+ - type: float64
15
15
  unit: dimensionless
16
16
  default: 0.05
17
17
  allowed_range:
@@ -12,7 +12,7 @@ description: |-
12
12
  short_description: |-
13
13
  Wavelength of light-source.
14
14
  data:
15
- - type: double
15
+ - type: float64
16
16
  unit: "nm"
17
17
  default: 400
18
18
  allowed_range:
@@ -13,7 +13,7 @@ description: |-
13
13
  short_description: |-
14
14
  Additional calibration-type events.
15
15
  data:
16
- - type: int
16
+ - type: int64
17
17
  unit: dimensionless
18
18
  default: 0
19
19
  allowed_range:
@@ -13,7 +13,7 @@ description: |-
13
13
  short_description: |-
14
14
  LED intensity in the camera lid in front of each pixel.
15
15
  data:
16
- - type: double
16
+ - type: float64
17
17
  unit: dimensionless
18
18
  default: 4.0
19
19
  allowed_range:
@@ -13,7 +13,7 @@ description: |-
13
13
  short_description: |-
14
14
  Shift position of the signal in the read-out window.
15
15
  data:
16
- - type: double
16
+ - type: float64
17
17
  unit: "ns"
18
18
  default: 0.0
19
19
  instrument:
@@ -12,7 +12,7 @@ description: |-
12
12
  short_description: |-
13
13
  Gaussian sigma LED pulse width.
14
14
  data:
15
- - type: double
15
+ - type: float64
16
16
  unit: "ns"
17
17
  default: 0.0
18
18
  allowed_range:
@@ -12,7 +12,7 @@ description: |-
12
12
  short_description: |-
13
13
  Average amplitude variation of LED in front of each pixel.
14
14
  data:
15
- - type: double
15
+ - type: float64
16
16
  unit: dimensionless
17
17
  default: 0.0
18
18
  allowed_range:
@@ -17,7 +17,7 @@ short_description: Lightguide efficiency as a function of incidence angle.
17
17
  data:
18
18
  - type: file
19
19
  unit: dimensionless
20
- default: None
20
+ default: null
21
21
  instrument:
22
22
  class: Camera
23
23
  type:
@@ -19,7 +19,7 @@ description: Lightguide efficiency for on-axis photons vs wavelength.
19
19
  data:
20
20
  - type: file
21
21
  unit: dimensionless
22
- default: None
22
+ default: null
23
23
  instrument:
24
24
  class: Camera
25
25
  type:
@@ -12,7 +12,7 @@ description: |-
12
12
  Minimum number of detected photoelectrons required in a camera before running the
13
13
  more CPU-intense electronics simulation.
14
14
  data:
15
- - type: int
15
+ - type: int64
16
16
  unit: dimensionless
17
17
  default: -1
18
18
  instrument:
@@ -9,7 +9,7 @@ name: min_photons
9
9
  description: |-
10
10
  Minimum number of photons required before doing simulation.
11
11
  data:
12
- - type: double
12
+ - type: float64
13
13
  unit: dimensionless
14
14
  default: -1
15
15
  instrument:
@@ -10,7 +10,7 @@ description: |-
10
10
  Gaussian r.m.s. spread of random fluctuations in the aligned mirror
11
11
  distance from the focus.
12
12
  data:
13
- - type: double
13
+ - type: float64
14
14
  unit: cm
15
15
  default: 2.0
16
16
  condition: mirror_class==1
@@ -20,21 +20,21 @@ short_description: |-
20
20
  Gaussian r.m.s. spread of random fluctuations of the mirror alignment
21
21
  angle with respect to nominal alignment in the horizontal component.
22
22
  data:
23
- - type: double
23
+ - type: float64
24
24
  description: Constant value $\sigma_0$.
25
25
  unit: deg
26
26
  default: 0.0035
27
- - type: double
27
+ - type: float64
28
28
  description: Zenith angle $\theta_0$ at which minimum is reached.
29
29
  unit: deg
30
30
  default: 28.0
31
- - type: double
31
+ - type: float64
32
32
  description: |-
33
33
  Scaling term $k_c$ in
34
34
  $\sigma_c = (\cos(\theta)-\cos(\theta_0)) / k_c$.
35
35
  unit: dimensionless
36
36
  default: 0.023
37
- - type: double
37
+ - type: float64
38
38
  description: |-
39
39
  Scaling term $k_s$ in
40
40
  $\sigma_s = (\sin(\theta)-\sin(\theta_0)) / k_s$.
@@ -20,21 +20,21 @@ short_description: |-
20
20
  Gaussian r.m.s. spread of random fluctuations of the mirror alignment
21
21
  angle with respect to nominal alignment in the vertical component.
22
22
  data:
23
- - type: double
23
+ - type: float64
24
24
  description: Constant value $\sigma_0$.
25
25
  unit: deg
26
26
  default: 0.0034
27
- - type: double
27
+ - type: float64
28
28
  description: Zenith angle $\theta_0$ at which minimum is reached.
29
29
  unit: deg
30
30
  default: 28.0
31
- - type: double
31
+ - type: float64
32
32
  description: |-
33
33
  Scaling term $k_c$ in
34
34
  $\sigma_c = (\cos(\theta)-\cos(\theta_0)) / k_c$.
35
35
  unit: dimensionless
36
36
  default: 0.01
37
- - type: double
37
+ - type: float64
38
38
  description: |-
39
39
  Scaling term $k_s$ in
40
40
  $\sigma_s = (\sin(\theta)-\sin(\theta_0)) / k_s$.
@@ -15,7 +15,7 @@ description: |-
15
15
  short_description: Parameter to control the type of mirror used (DC, parabolic or
16
16
  SC).
17
17
  data:
18
- - type: uint
18
+ - type: uint64
19
19
  unit: dimensionless
20
20
  default: 0
21
21
  allowed_range:
@@ -24,7 +24,7 @@ description: |-
24
24
  short_description: |-
25
25
  Mirror degradation factor (wavelength independent).
26
26
  data:
27
- - type: double
27
+ - type: float64
28
28
  unit: dimensionless
29
29
  default: 1.
30
30
  allowed_range:
@@ -15,7 +15,7 @@ description: |-
15
15
  the overall focal length).
16
16
  short_description: Standard focal length of mirror tiles.
17
17
  data:
18
- - type: double
18
+ - type: float64
19
19
  unit: cm
20
20
  default: 0.0
21
21
  allowed_range:
@@ -11,7 +11,7 @@ description: List of mirror positions, diameters, focal lengths, and shape codes
11
11
  data:
12
12
  - type: file
13
13
  unit: dimensionless
14
- default: None
14
+ default: null
15
15
  instrument:
16
16
  class: Structure
17
17
  type:
@@ -17,7 +17,7 @@ short_description: |-
17
17
  Offset of mirror back plane from fixed point of telescope mount or
18
18
  from the altitude rotation axis, along the direction of the optical axis.
19
19
  data:
20
- - type: double
20
+ - type: float64
21
21
  unit: cm
22
22
  default: 130.0
23
23
  instrument:
@@ -23,17 +23,17 @@ data:
23
23
  Mirror panel radius.
24
24
  required: true
25
25
  unit: cm
26
- type: double
26
+ type: float64
27
27
  - name: psf
28
28
  description: |-
29
29
  Spot size of mirror panel PSF at nominal distance.
30
30
  required: true
31
31
  unit: cm
32
- type: double
32
+ type: float64
33
33
  - name: psf_opt
34
34
  description: |-
35
35
  Spot size of mirror panel PSF
36
36
  (best value, not at nominal distance).
37
37
  required: false
38
38
  unit: cm
39
- type: double
39
+ type: float64
@@ -16,21 +16,21 @@ short_description: |-
16
16
  Gaussian r.m.s. spread of random fluctuations of microscopic reflection
17
17
  angles due to small-scale surface deviations.
18
18
  data:
19
- - type: double
19
+ - type: float64
20
20
  description: Projected Gaussian r.m.s. of the first component.
21
21
  unit: deg
22
22
  default: 0.0066
23
23
  allowed_range:
24
24
  min: 0.0
25
25
  max: 2.0
26
- - type: double
26
+ - type: float64
27
27
  description: Fractional amplitude of second component.
28
28
  unit: dimensionless
29
29
  default: 0.0
30
30
  allowed_range:
31
31
  min: 0.0
32
32
  max: 1.0
33
- - type: double
33
+ - type: float64
34
34
  description: Projected Gaussian r.m.s. of the second component.
35
35
  unit: deg
36
36
  default: 0.0
@@ -19,7 +19,7 @@ short_description: |-
19
19
  Actual threshold of the telescope trigger, adjusted relative to the
20
20
  number of required pixels.
21
21
  data:
22
- - type: double
22
+ - type: float64
23
23
  unit: dimensionless
24
24
  default: -0.5
25
25
  allowed_range:
@@ -0,0 +1,45 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for muon_mono_threshold model parameter
4
+ version: 0.1.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: muon_mono_threshold
9
+ description: |-
10
+ If the array trigger requires triggers from more than one telescope, the events best
11
+ suitable for muon-ring calibration purposes, initiated by isolated muons, would be
12
+ severely suppressed. Events with triggers in an extended area of the camera are a
13
+ good indicator of muon rings and can be made to pass by stereo event selection.
14
+ The first parameter is a threshold on the number of trigger groups fired, the second
15
+ a threshold on the number of - yet to be determined - larger regions in which any
16
+ trigger groups fired.
17
+ short_description: Thresholds for mono muon events.
18
+ data:
19
+ - type: uint64
20
+ description: minimum number of trigger groups fired.
21
+ default: 0
22
+ unit: dimensionless
23
+ - type: uint64
24
+ description: minimum number of larger regions with trigger groups fired.
25
+ default: 0
26
+ unit: dimensionless
27
+ instrument:
28
+ class: Camera
29
+ type:
30
+ - LSTN
31
+ - LSTS
32
+ - MSTN
33
+ - MSTS
34
+ - SSTS
35
+ - SCTS
36
+ activity:
37
+ setting:
38
+ - SetParameterFromExternal
39
+ validation:
40
+ - ValidateParameterByExpert
41
+ source:
42
+ - Initial instrument setup
43
+ simulation_software:
44
+ - name: sim_telarray
45
+ internal_parameter_name: muon_mono_thresh
@@ -11,7 +11,7 @@ description: |-
11
11
  This only takes effect if nsb_scaling_factor is exactly 1.0
12
12
  short_description: NSB scaling as function of airmass (zenith angle).
13
13
  data:
14
- - type: double
14
+ - type: float64
15
15
  description: |-
16
16
  Zenith-level fraction of NSB resulting from airglow.
17
17
  Value should be on the order of 0.7.
@@ -20,7 +20,7 @@ data:
20
20
  allowed_range:
21
21
  min: 0.0
22
22
  max: 1.0
23
- - type: double
23
+ - type: float64
24
24
  description: |-
25
25
  Effective extinction coefficient applicable for NSB light
26
26
  (due to scattering it should be smaller than extinction
@@ -15,7 +15,7 @@ short_description: |-
15
15
  Pixel p.e. rate at which the gain drops to half the nominal value due to
16
16
  bias resistance and cell capacitance (SiPM cameras).
17
17
  data:
18
- - type: double
18
+ - type: float64
19
19
  unit: GHz
20
20
  default: 0.0
21
21
  allowed_range:
@@ -22,7 +22,7 @@ short_description: |-
22
22
  data:
23
23
  - name: nsb_offaxis_function
24
24
  required: false
25
- type: double
25
+ type: float64
26
26
  description: |
27
27
  Function identifier.
28
28
  default: 0
@@ -34,28 +34,28 @@ data:
34
34
  description: |
35
35
  NSB off-axis factor $p_1$.
36
36
  required: false
37
- type: double
37
+ type: float64
38
38
  default: 0.0
39
39
  unit: dimensionless
40
40
  - name: reference_radius_p2
41
41
  description: |
42
42
  Camera reference radius $p_2$.
43
43
  required: false
44
- type: double
44
+ type: float64
45
45
  default: 0.0
46
46
  unit: cm
47
47
  - name: nsb_offaxis_p3
48
48
  description: |
49
49
  NSB off-axis factor $p_3$.
50
50
  required: false
51
- type: double
51
+ type: float64
52
52
  default: 0.0
53
53
  unit: dimensionless
54
54
  - name: nsb_offaxis_p4
55
55
  description: |
56
56
  NSB off-axis factor $p_4$.
57
57
  required: false
58
- type: double
58
+ type: float64
59
59
  default: 0.0
60
60
  unit: dimensionless
61
61
  instrument:
@@ -17,7 +17,7 @@ short_description: |-
17
17
  Number of photo-electrons per nanosecond per pixel due to nightsky
18
18
  background.
19
19
  data:
20
- - type: double
20
+ - type: float64
21
21
  unit: GHz
22
22
  default: 0.218
23
23
  allowed_range:
@@ -15,7 +15,7 @@ description: |-
15
15
  data:
16
16
  - type: file
17
17
  unit: dimensionless
18
- default: None
18
+ default: null
19
19
  instrument:
20
20
  class: Site
21
21
  type:
@@ -12,7 +12,7 @@ description: |-
12
12
  night sky background level during astronomical darkness)
13
13
  short_description: Reference value for night-sky background flux.
14
14
  data:
15
- - type: double
15
+ - type: float64
16
16
  unit: 1/(sr*ns*cm**2)
17
17
  default: 0.24
18
18
  instrument:
@@ -11,7 +11,7 @@ description: |-
11
11
  reference setting.
12
12
  short_description: Global NSB scaling factor.
13
13
  data:
14
- - type: double
14
+ - type: float64
15
15
  unit: dimensionless
16
16
  default: 1.0
17
17
  allowed_range:
@@ -20,7 +20,7 @@ short_description: Sky map (Az/Alt) of NSB enhancement factors.
20
20
  data:
21
21
  - type: file
22
22
  unit: dimensionless
23
- default: None
23
+ default: null
24
24
  instrument:
25
25
  class: Site
26
26
  type:
@@ -25,7 +25,7 @@ data:
25
25
  description: Wavelength
26
26
  required: true
27
27
  unit: nm
28
- type: double
28
+ type: float64
29
29
  required_range:
30
30
  min: 300.0
31
31
  max: 700.0
@@ -36,7 +36,7 @@ data:
36
36
  description: Intensity of the night-sky background
37
37
  required: true
38
38
  unit: photons / arcsec**2 m**2 s** micron
39
- type: double
39
+ type: float64
40
40
  required_range:
41
41
  min: 0.0
42
42
  activity:
@@ -8,7 +8,7 @@ meta_schema_version: 0.1.0
8
8
  name: num_gains
9
9
  description: Number of different gains the input signal gets digitized.
10
10
  data:
11
- - type: int
11
+ - type: int64
12
12
  unit: dimensionless
13
13
  default: 2
14
14
  allowed_range: