gammasimtools 0.13.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 (226) hide show
  1. {gammasimtools-0.13.0.dist-info → gammasimtools-0.14.0.dist-info}/METADATA +3 -3
  2. {gammasimtools-0.13.0.dist-info → gammasimtools-0.14.0.dist-info}/RECORD +224 -217
  3. {gammasimtools-0.13.0.dist-info → gammasimtools-0.14.0.dist-info}/WHEEL +1 -1
  4. {gammasimtools-0.13.0.dist-info → gammasimtools-0.14.0.dist-info}/entry_points.txt +3 -1
  5. simtools/_version.py +2 -2
  6. simtools/applications/db_add_file_to_db.py +15 -0
  7. simtools/applications/db_add_value_from_json_to_db.py +18 -1
  8. simtools/applications/derive_ctao_array_layouts.py +120 -0
  9. simtools/applications/derive_photon_electron_spectrum.py +29 -1
  10. simtools/applications/docs_produce_array_element_report.py +41 -16
  11. simtools/applications/docs_produce_model_parameter_reports.py +28 -8
  12. simtools/applications/{production_extract_mc_event_data.py → generate_simtel_event_data.py} +12 -20
  13. simtools/applications/print_version.py +81 -0
  14. simtools/applications/production_derive_corsika_limits.py +172 -39
  15. simtools/applications/production_scale_events.py +59 -36
  16. simtools/applications/run_application.py +41 -11
  17. simtools/applications/simulate_light_emission.py +115 -247
  18. simtools/applications/simulate_prod_htcondor_generator.py +2 -2
  19. simtools/camera/single_photon_electron_spectrum.py +163 -15
  20. simtools/data_model/model_data_writer.py +7 -6
  21. simtools/db/db_handler.py +14 -8
  22. simtools/dependencies.py +38 -3
  23. simtools/layout/array_layout.py +1 -0
  24. simtools/layout/ctao_array_layouts.py +172 -0
  25. simtools/model/array_model.py +3 -4
  26. simtools/model/model_parameter.py +30 -87
  27. simtools/production_configuration/derive_corsika_limits.py +222 -154
  28. simtools/production_configuration/event_scaler.py +2 -2
  29. simtools/reporting/docs_auto_report_generator.py +217 -0
  30. simtools/reporting/docs_read_parameters.py +192 -110
  31. simtools/schemas/application_workflow.metaschema.yml +3 -0
  32. simtools/schemas/model_parameter.metaschema.yml +13 -0
  33. simtools/schemas/model_parameter_and_data_schema.metaschema.yml +6 -0
  34. simtools/schemas/model_parameters/adjust_gain.schema.yml +1 -1
  35. simtools/schemas/model_parameters/altitude.schema.yml +1 -1
  36. simtools/schemas/model_parameters/array_coordinates_UTM.schema.yml +3 -3
  37. simtools/schemas/model_parameters/array_element_position_ground.schema.yml +3 -3
  38. simtools/schemas/model_parameters/array_element_position_utm.schema.yml +3 -3
  39. simtools/schemas/model_parameters/array_window.schema.yml +1 -1
  40. simtools/schemas/model_parameters/asum_clipping.schema.yml +1 -1
  41. simtools/schemas/model_parameters/asum_offset.schema.yml +1 -1
  42. simtools/schemas/model_parameters/asum_threshold.schema.yml +1 -1
  43. simtools/schemas/model_parameters/axes_offsets.schema.yml +2 -2
  44. simtools/schemas/model_parameters/camera_body_diameter.schema.yml +1 -1
  45. simtools/schemas/model_parameters/camera_body_shape.schema.yml +1 -1
  46. simtools/schemas/model_parameters/camera_config_rotate.schema.yml +1 -1
  47. simtools/schemas/model_parameters/camera_degraded_efficiency.schema.yml +1 -1
  48. simtools/schemas/model_parameters/camera_depth.schema.yml +1 -1
  49. simtools/schemas/model_parameters/camera_pixels.schema.yml +1 -1
  50. simtools/schemas/model_parameters/camera_transmission.schema.yml +1 -1
  51. simtools/schemas/model_parameters/channels_per_chip.schema.yml +1 -1
  52. simtools/schemas/model_parameters/corsika_iact_io_buffer.schema.yml +1 -1
  53. simtools/schemas/model_parameters/corsika_iact_max_bunches.schema.yml +1 -1
  54. simtools/schemas/model_parameters/corsika_iact_split_auto.schema.yml +1 -1
  55. simtools/schemas/model_parameters/corsika_observation_level.schema.yml +1 -1
  56. simtools/schemas/model_parameters/dark_events.schema.yml +1 -1
  57. simtools/schemas/model_parameters/disc_bins.schema.yml +1 -1
  58. simtools/schemas/model_parameters/disc_start.schema.yml +1 -1
  59. simtools/schemas/model_parameters/discriminator_amplitude.schema.yml +1 -1
  60. simtools/schemas/model_parameters/discriminator_fall_time.schema.yml +1 -1
  61. simtools/schemas/model_parameters/discriminator_gate_length.schema.yml +1 -1
  62. simtools/schemas/model_parameters/discriminator_hysteresis.schema.yml +1 -1
  63. simtools/schemas/model_parameters/discriminator_output_amplitude.schema.yml +1 -1
  64. simtools/schemas/model_parameters/discriminator_output_var_percent.schema.yml +1 -1
  65. simtools/schemas/model_parameters/discriminator_rise_time.schema.yml +1 -1
  66. simtools/schemas/model_parameters/discriminator_scale_threshold.schema.yml +1 -1
  67. simtools/schemas/model_parameters/discriminator_sigsum_over_threshold.schema.yml +1 -1
  68. simtools/schemas/model_parameters/discriminator_threshold.schema.yml +1 -1
  69. simtools/schemas/model_parameters/discriminator_time_over_threshold.schema.yml +1 -1
  70. simtools/schemas/model_parameters/discriminator_var_gate_length.schema.yml +1 -1
  71. simtools/schemas/model_parameters/discriminator_var_sigsum_over_threshold.schema.yml +1 -1
  72. simtools/schemas/model_parameters/discriminator_var_threshold.schema.yml +1 -1
  73. simtools/schemas/model_parameters/discriminator_var_time_over_threshold.schema.yml +1 -1
  74. simtools/schemas/model_parameters/dish_shape_length.schema.yml +1 -1
  75. simtools/schemas/model_parameters/dsum_clipping.schema.yml +1 -1
  76. simtools/schemas/model_parameters/dsum_ignore_below.schema.yml +1 -1
  77. simtools/schemas/model_parameters/dsum_offset.schema.yml +1 -1
  78. simtools/schemas/model_parameters/dsum_pre_clipping.schema.yml +1 -1
  79. simtools/schemas/model_parameters/dsum_prescale.schema.yml +2 -2
  80. simtools/schemas/model_parameters/dsum_presum_max.schema.yml +1 -1
  81. simtools/schemas/model_parameters/dsum_presum_shift.schema.yml +1 -1
  82. simtools/schemas/model_parameters/dsum_threshold.schema.yml +1 -1
  83. simtools/schemas/model_parameters/dsum_zero_clip.schema.yml +1 -1
  84. simtools/schemas/model_parameters/effective_focal_length.schema.yml +5 -5
  85. simtools/schemas/model_parameters/epsg_code.schema.yml +1 -1
  86. simtools/schemas/model_parameters/fadc_amplitude.schema.yml +1 -1
  87. simtools/schemas/model_parameters/fadc_bins.schema.yml +1 -1
  88. simtools/schemas/model_parameters/fadc_compensate_pedestal.schema.yml +1 -1
  89. simtools/schemas/model_parameters/fadc_dev_pedestal.schema.yml +1 -1
  90. simtools/schemas/model_parameters/fadc_err_compensate_pedestal.schema.yml +1 -1
  91. simtools/schemas/model_parameters/fadc_err_pedestal.schema.yml +1 -1
  92. simtools/schemas/model_parameters/fadc_lg_amplitude.schema.yml +1 -1
  93. simtools/schemas/model_parameters/fadc_lg_compensate_pedestal.schema.yml +1 -1
  94. simtools/schemas/model_parameters/fadc_lg_dev_pedestal.schema.yml +1 -1
  95. simtools/schemas/model_parameters/fadc_lg_err_compensate_pedestal.schema.yml +1 -1
  96. simtools/schemas/model_parameters/fadc_lg_err_pedestal.schema.yml +1 -1
  97. simtools/schemas/model_parameters/fadc_lg_max_signal.schema.yml +1 -1
  98. simtools/schemas/model_parameters/fadc_lg_max_sum.schema.yml +1 -1
  99. simtools/schemas/model_parameters/fadc_lg_noise.schema.yml +1 -1
  100. simtools/schemas/model_parameters/fadc_lg_pedestal.schema.yml +1 -1
  101. simtools/schemas/model_parameters/fadc_lg_sensitivity.schema.yml +1 -1
  102. simtools/schemas/model_parameters/fadc_lg_sysvar_pedestal.schema.yml +1 -1
  103. simtools/schemas/model_parameters/fadc_lg_var_pedestal.schema.yml +1 -1
  104. simtools/schemas/model_parameters/fadc_lg_var_sensitivity.schema.yml +1 -1
  105. simtools/schemas/model_parameters/fadc_max_signal.schema.yml +1 -1
  106. simtools/schemas/model_parameters/fadc_max_sum.schema.yml +1 -1
  107. simtools/schemas/model_parameters/fadc_mhz.schema.yml +1 -1
  108. simtools/schemas/model_parameters/fadc_noise.schema.yml +1 -1
  109. simtools/schemas/model_parameters/fadc_pedestal.schema.yml +1 -1
  110. simtools/schemas/model_parameters/fadc_sensitivity.schema.yml +1 -1
  111. simtools/schemas/model_parameters/fadc_sum_bins.schema.yml +1 -1
  112. simtools/schemas/model_parameters/fadc_sum_offset.schema.yml +1 -1
  113. simtools/schemas/model_parameters/fadc_sysvar_pedestal.schema.yml +1 -1
  114. simtools/schemas/model_parameters/fadc_var_pedestal.schema.yml +1 -1
  115. simtools/schemas/model_parameters/fadc_var_sensitivity.schema.yml +1 -1
  116. simtools/schemas/model_parameters/focal_length.schema.yml +1 -1
  117. simtools/schemas/model_parameters/focal_surface_parameters.schema.yml +20 -20
  118. simtools/schemas/model_parameters/focal_surface_ref_radius.schema.yml +1 -1
  119. simtools/schemas/model_parameters/focus_offset.schema.yml +4 -4
  120. simtools/schemas/model_parameters/gain_variation.schema.yml +1 -1
  121. simtools/schemas/model_parameters/geomag_horizontal.schema.yml +1 -1
  122. simtools/schemas/model_parameters/geomag_rotation.schema.yml +1 -1
  123. simtools/schemas/model_parameters/geomag_vertical.schema.yml +1 -1
  124. simtools/schemas/model_parameters/hg_lg_variation.schema.yml +1 -1
  125. simtools/schemas/model_parameters/iobuf_maximum.schema.yml +1 -1
  126. simtools/schemas/model_parameters/iobuf_output_maximum.schema.yml +1 -1
  127. simtools/schemas/model_parameters/laser_events.schema.yml +1 -1
  128. simtools/schemas/model_parameters/laser_external_trigger.schema.yml +1 -1
  129. simtools/schemas/model_parameters/laser_photons.schema.yml +1 -1
  130. simtools/schemas/model_parameters/laser_pulse_exptime.schema.yml +1 -1
  131. simtools/schemas/model_parameters/laser_pulse_offset.schema.yml +1 -1
  132. simtools/schemas/model_parameters/laser_pulse_sigtime.schema.yml +1 -1
  133. simtools/schemas/model_parameters/laser_pulse_twidth.schema.yml +1 -1
  134. simtools/schemas/model_parameters/laser_var_photons.schema.yml +1 -1
  135. simtools/schemas/model_parameters/laser_wavelength.schema.yml +1 -1
  136. simtools/schemas/model_parameters/led_events.schema.yml +1 -1
  137. simtools/schemas/model_parameters/led_photons.schema.yml +1 -1
  138. simtools/schemas/model_parameters/led_pulse_offset.schema.yml +1 -1
  139. simtools/schemas/model_parameters/led_pulse_sigtime.schema.yml +1 -1
  140. simtools/schemas/model_parameters/led_var_photons.schema.yml +1 -1
  141. simtools/schemas/model_parameters/min_photoelectrons.schema.yml +1 -1
  142. simtools/schemas/model_parameters/min_photons.schema.yml +1 -1
  143. simtools/schemas/model_parameters/mirror_align_random_distance.schema.yml +1 -1
  144. simtools/schemas/model_parameters/mirror_align_random_horizontal.schema.yml +4 -4
  145. simtools/schemas/model_parameters/mirror_align_random_vertical.schema.yml +4 -4
  146. simtools/schemas/model_parameters/mirror_class.schema.yml +1 -1
  147. simtools/schemas/model_parameters/mirror_degraded_reflection.schema.yml +1 -1
  148. simtools/schemas/model_parameters/mirror_focal_length.schema.yml +1 -1
  149. simtools/schemas/model_parameters/mirror_offset.schema.yml +1 -1
  150. simtools/schemas/model_parameters/mirror_panel_2f_measurements.schema.yml +3 -3
  151. simtools/schemas/model_parameters/mirror_reflection_random_angle.schema.yml +3 -3
  152. simtools/schemas/model_parameters/multiplicity_offset.schema.yml +1 -1
  153. simtools/schemas/model_parameters/muon_mono_threshold.schema.yml +45 -0
  154. simtools/schemas/model_parameters/nsb_autoscale_airmass.schema.yml +2 -2
  155. simtools/schemas/model_parameters/nsb_gain_drop_scale.schema.yml +1 -1
  156. simtools/schemas/model_parameters/nsb_offaxis.schema.yml +5 -5
  157. simtools/schemas/model_parameters/nsb_pixel_rate.schema.yml +1 -1
  158. simtools/schemas/model_parameters/nsb_reference_value.schema.yml +1 -1
  159. simtools/schemas/model_parameters/nsb_scaling_factor.schema.yml +1 -1
  160. simtools/schemas/model_parameters/nsb_spectrum.schema.yml +2 -2
  161. simtools/schemas/model_parameters/num_gains.schema.yml +1 -1
  162. simtools/schemas/model_parameters/pedestal_events.schema.yml +1 -1
  163. simtools/schemas/model_parameters/photon_delay.schema.yml +1 -1
  164. simtools/schemas/model_parameters/photons_per_run.schema.yml +1 -1
  165. simtools/schemas/model_parameters/pixel_cells.schema.yml +1 -1
  166. simtools/schemas/model_parameters/pixels_parallel.schema.yml +1 -1
  167. simtools/schemas/model_parameters/pixeltrg_time_step.schema.yml +1 -1
  168. simtools/schemas/model_parameters/pm_average_gain.schema.yml +1 -1
  169. simtools/schemas/model_parameters/pm_collection_efficiency.schema.yml +1 -1
  170. simtools/schemas/model_parameters/pm_gain_index.schema.yml +1 -1
  171. simtools/schemas/model_parameters/pm_transit_time.schema.yml +4 -4
  172. simtools/schemas/model_parameters/pm_voltage_variation.schema.yml +1 -1
  173. simtools/schemas/model_parameters/primary_mirror_degraded_map.schema.yml +7 -3
  174. simtools/schemas/model_parameters/primary_mirror_diameter.schema.yml +1 -1
  175. simtools/schemas/model_parameters/primary_mirror_hole_diameter.schema.yml +1 -1
  176. simtools/schemas/model_parameters/primary_mirror_parameters.schema.yml +20 -20
  177. simtools/schemas/model_parameters/primary_mirror_ref_radius.schema.yml +1 -1
  178. simtools/schemas/model_parameters/qe_variation.schema.yml +1 -1
  179. simtools/schemas/model_parameters/random_focal_length.schema.yml +2 -2
  180. simtools/schemas/model_parameters/random_mono_probability.schema.yml +38 -0
  181. simtools/schemas/model_parameters/reference_point_altitude.schema.yml +1 -1
  182. simtools/schemas/model_parameters/reference_point_latitude.schema.yml +4 -1
  183. simtools/schemas/model_parameters/reference_point_longitude.schema.yml +4 -1
  184. simtools/schemas/model_parameters/reference_point_utm_east.schema.yml +1 -1
  185. simtools/schemas/model_parameters/reference_point_utm_north.schema.yml +1 -1
  186. simtools/schemas/model_parameters/secondary_mirror_baffle.schema.yml +5 -5
  187. simtools/schemas/model_parameters/secondary_mirror_degraded_reflection.schema.yml +1 -1
  188. simtools/schemas/model_parameters/secondary_mirror_diameter.schema.yml +1 -1
  189. simtools/schemas/model_parameters/secondary_mirror_hole_diameter.schema.yml +1 -1
  190. simtools/schemas/model_parameters/secondary_mirror_parameters.schema.yml +20 -20
  191. simtools/schemas/model_parameters/secondary_mirror_ref_radius.schema.yml +1 -1
  192. simtools/schemas/model_parameters/secondary_mirror_shadow_diameter.schema.yml +1 -1
  193. simtools/schemas/model_parameters/secondary_mirror_shadow_offset.schema.yml +1 -1
  194. simtools/schemas/model_parameters/stars.schema.yml +36 -0
  195. simtools/schemas/model_parameters/store_photoelectrons.schema.yml +1 -1
  196. simtools/schemas/model_parameters/tailcut_scale.schema.yml +1 -1
  197. simtools/schemas/model_parameters/telescope_axis_height.schema.yml +1 -1
  198. simtools/schemas/model_parameters/telescope_random_angle.schema.yml +1 -1
  199. simtools/schemas/model_parameters/telescope_random_error.schema.yml +1 -1
  200. simtools/schemas/model_parameters/telescope_sphere_radius.schema.yml +1 -1
  201. simtools/schemas/model_parameters/telescope_transmission.schema.yml +6 -6
  202. simtools/schemas/model_parameters/teltrig_min_sigsum.schema.yml +1 -1
  203. simtools/schemas/model_parameters/teltrig_min_time.schema.yml +1 -1
  204. simtools/schemas/model_parameters/transit_time_calib_error.schema.yml +1 -1
  205. simtools/schemas/model_parameters/transit_time_compensate_error.schema.yml +1 -1
  206. simtools/schemas/model_parameters/transit_time_compensate_step.schema.yml +1 -1
  207. simtools/schemas/model_parameters/transit_time_error.schema.yml +1 -1
  208. simtools/schemas/model_parameters/transit_time_jitter.schema.yml +1 -1
  209. simtools/schemas/model_parameters/trigger_current_limit.schema.yml +1 -1
  210. simtools/schemas/model_parameters/trigger_delay_compensation.schema.yml +4 -4
  211. simtools/schemas/model_parameters/trigger_pixels.schema.yml +1 -1
  212. simtools/simtel/simtel_config_writer.py +70 -38
  213. simtools/simtel/simtel_io_event_reader.py +278 -0
  214. simtools/simtel/simtel_io_event_writer.py +317 -0
  215. simtools/simtel/simulator_light_emission.py +181 -67
  216. simtools/simulator.py +2 -2
  217. simtools/testing/configuration.py +17 -0
  218. simtools/utils/general.py +33 -7
  219. simtools/utils/geometry.py +19 -0
  220. simtools/utils/names.py +7 -1
  221. simtools/visualization/visualize.py +2 -2
  222. simtools/production_configuration/extract_mc_event_data.py +0 -253
  223. simtools/simtel/simtel_io_events.py +0 -265
  224. {gammasimtools-0.13.0.dist-info → gammasimtools-0.14.0.dist-info/licenses}/LICENSE +0 -0
  225. {gammasimtools-0.13.0.dist-info → gammasimtools-0.14.0.dist-info}/top_level.txt +0 -0
  226. /simtools/schemas/model_parameters/{nsb_skymap.schema.yml → nsb_sky_map.schema.yml} +0 -0
@@ -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:
@@ -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:
@@ -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:
@@ -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:
@@ -11,7 +11,7 @@ description: |-
11
11
  short_description: |-
12
12
  Number of pedestal events at start of run with camera lid open (same NSB as for normal events).
13
13
  data:
14
- - type: int
14
+ - type: int64
15
15
  unit: dimensionless
16
16
  default: 0
17
17
  allowed_range:
@@ -13,7 +13,7 @@ description: |-
13
13
  Additional delay added to the arrival times
14
14
  of all photons at the photo sensors.
15
15
  data:
16
- - type: double
16
+ - type: float64
17
17
  unit: ns
18
18
  default: 0.0
19
19
  instrument:
@@ -11,7 +11,7 @@ description: |-
11
11
  short_description: |-
12
12
  Number of photons per run.
13
13
  data:
14
- - type: double
14
+ - type: float64
15
15
  unit: dimensionless
16
16
  default: 1e10
17
17
  allowed_range:
@@ -13,7 +13,7 @@ description: |-
13
13
  The presence of a non-zero value does not imply any microscopic model
14
14
  of the pixel structure.
15
15
  data:
16
- - type: int
16
+ - type: int64
17
17
  unit: dimensionless
18
18
  default: 0
19
19
  allowed_range:
@@ -31,7 +31,7 @@ short_description: |-
31
31
  Parameter controlling the orientation of the pixels, setting it to be
32
32
  aligned with the optical axis or the focal surface normal.
33
33
  data:
34
- - type: uint
34
+ - type: uint64
35
35
  default: 1
36
36
  allowed_range:
37
37
  min: 0
@@ -14,7 +14,7 @@ description: |-
14
14
  in a real instrument are not accounted for).
15
15
  short_description: Time difference between telescope and pixel trigger recording.
16
16
  data:
17
- - type: double
17
+ - type: float64
18
18
  unit: ns
19
19
  default: 0.0
20
20
  allowed_range:
@@ -10,7 +10,7 @@ description: |-
10
10
  Photo detector average gain. Used to determine the DC currents
11
11
  from night-sky background (NSB) pixel rates.
12
12
  data:
13
- - type: double
13
+ - type: float64
14
14
  default: 40000.0
15
15
  allowed_range:
16
16
  min: 10000.0
@@ -16,7 +16,7 @@ description: |-
16
16
  photo-electrons are included in the amplitude distribution of the
17
17
  single-p.e. spectrum.
18
18
  data:
19
- - type: double
19
+ - type: float64
20
20
  unit: dimensionless
21
21
  allowed_range:
22
22
  min: 0.01
@@ -11,7 +11,7 @@ description: |-
11
11
  the PMT gain index p through $g \propto U^{p}$.
12
12
  Used only for PMT timing.
13
13
  data:
14
- - type: double
14
+ - type: float64
15
15
  unit: dimensionless
16
16
  default: 4.0
17
17
  allowed_range:
@@ -9,14 +9,14 @@ name: pm_transit_time
9
9
  description: Total transit time of the photodetector at the average voltage.
10
10
  data:
11
11
  - name: pm_transit_time_at_average_voltage
12
- type: double
12
+ type: float64
13
13
  description: Total transit time of the PMT at the average voltage.
14
14
  unit: ns
15
15
  default: 20.
16
16
  allowed_range:
17
17
  min: 0.0
18
18
  - name: pm_transit_time_to_first_dynode
19
- type: double
19
+ type: float64
20
20
  description: |-
21
21
  Fixed transit time between cathode and first dynode, in case of
22
22
  the first dynode being stabilized. Use zero for a passive divider.
@@ -25,7 +25,7 @@ data:
25
25
  allowed_range:
26
26
  min: 0.0
27
27
  - name: fixed_voltage_first_dynode
28
- type: double
28
+ type: float64
29
29
  description: |-
30
30
  The fixed voltage (or fraction of total nominal voltage) applied to
31
31
  a stabilized first dynode. Use zero for a passive divider.
@@ -36,7 +36,7 @@ data:
36
36
  developer_note: "This parameter can describe in sim_telarray the fraction of total\n\
37
37
  nominal voltage in case total nominal voltage is set to zero."
38
38
  - name: total_nominal_voltage
39
- type: double
39
+ type: float64
40
40
  default: 1100.
41
41
  description: Total nominal voltage.
42
42
  unit: V
@@ -15,7 +15,7 @@ description: |-
15
15
  r.m.s. spread of random voltage fluctuations,
16
16
  \texttt{V = RandGaus(1., pm_voltage_variation)}.
17
17
  data:
18
- - type: double
18
+ - type: float64
19
19
  unit: dimensionless
20
20
  default: 0.03
21
21
  allowed_range:
@@ -9,16 +9,16 @@ developer_note: |-
9
9
  To be replaced by a data table. Accepted range is 0 to 1
10
10
  name: primary_mirror_degraded_map
11
11
  description: |-
12
- Position-dependent map of degradation factors for the primary mirror.
12
+ Position-dependent map of degradation factors for the (primary) mirror.
13
13
  This degradation gets applied on top of mirror_degraded_reflection.
14
- Note that the impact of it on the nightsky background is not automatically
14
+ Note that the impact of it on the night-sky background is not automatically
15
15
  accounted for and must be evaluated separately and included in the
16
16
  configured NSB pixel p.e. rates. It is recommended to use a map with an
17
17
  average efficiency of 1.0 and use mirror_degraded_reflection
18
18
  for the overall degradation. Tables with equidistant spacing in both x and
19
19
  y are highly recommended because the interpolation is faster.
20
20
  short_description: |-
21
- Position-dependent map of degradation factors for the primary mirror.
21
+ Position-dependent map of degradation factors for the (primary) mirror.
22
22
  data:
23
23
  - type: file
24
24
  unit: dimensionless
@@ -26,6 +26,10 @@ data:
26
26
  instrument:
27
27
  class: Structure
28
28
  type:
29
+ - LSTN
30
+ - LSTS
31
+ - MSTN
32
+ - MSTS
29
33
  - SSTS
30
34
  - SCTS
31
35
  activity:
@@ -11,7 +11,7 @@ description: |-
11
11
  Used only in case mirror_list is not defined (i.e., mirror_list=none).
12
12
  data:
13
13
  - name: primary_mirror_diameter
14
- type: double
14
+ type: float64
15
15
  unit: cm
16
16
  condition: mirror_list==None&&mirror_class==2
17
17
  default: 0.
@@ -11,7 +11,7 @@ description: |-
11
11
  data:
12
12
  - name: primary_hole_diameter
13
13
  description: Diameter of central hole in primary mirror.
14
- type: double
14
+ type: float64
15
15
  default: 0.
16
16
  unit: cm
17
17
  condition: mirror_class==2