gammasimtools 0.6.1__py3-none-any.whl → 0.8.1__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 (353) hide show
  1. gammasimtools-0.8.1.dist-info/METADATA +172 -0
  2. gammasimtools-0.8.1.dist-info/RECORD +346 -0
  3. {gammasimtools-0.6.1.dist-info → gammasimtools-0.8.1.dist-info}/WHEEL +1 -1
  4. gammasimtools-0.8.1.dist-info/entry_points.txt +31 -0
  5. simtools/_version.py +2 -2
  6. simtools/applications/calculate_trigger_rate.py +210 -0
  7. simtools/applications/convert_all_model_parameters_from_simtel.py +372 -0
  8. simtools/applications/{print_array_elements.py → convert_geo_coordinates_of_array_elements.py} +58 -63
  9. simtools/applications/convert_model_parameter_from_simtel.py +119 -0
  10. simtools/applications/{add_file_to_db.py → db_add_file_to_db.py} +70 -60
  11. simtools/applications/db_add_model_parameters_from_repository_to_db.py +184 -0
  12. simtools/applications/db_add_value_from_json_to_db.py +105 -0
  13. simtools/applications/db_development_tools/write_array_elements_positions_to_repository.py +180 -0
  14. simtools/applications/db_get_array_layouts_from_db.py +162 -0
  15. simtools/applications/{get_file_from_db.py → db_get_file_from_db.py} +30 -34
  16. simtools/applications/db_get_parameter_from_db.py +131 -0
  17. simtools/applications/db_inspect_databases.py +52 -0
  18. simtools/applications/derive_mirror_rnda.py +39 -255
  19. simtools/applications/derive_psf_parameters.py +441 -0
  20. simtools/applications/generate_array_config.py +82 -0
  21. simtools/applications/generate_corsika_histograms.py +52 -52
  22. simtools/applications/generate_default_metadata.py +5 -8
  23. simtools/applications/generate_regular_arrays.py +117 -0
  24. simtools/applications/generate_simtel_array_histograms.py +97 -56
  25. simtools/applications/plot_array_layout.py +345 -115
  26. simtools/applications/production_generate_simulation_config.py +158 -0
  27. simtools/applications/production_scale_events.py +168 -0
  28. simtools/applications/simulate_light_emission.py +478 -0
  29. simtools/applications/simulate_prod.py +97 -175
  30. simtools/applications/submit_data_from_external.py +9 -12
  31. simtools/applications/submit_model_parameter_from_external.py +122 -0
  32. simtools/applications/validate_camera_efficiency.py +35 -102
  33. simtools/applications/validate_camera_fov.py +20 -19
  34. simtools/applications/{compare_cumulative_psf.py → validate_cumulative_psf.py} +45 -44
  35. simtools/applications/validate_file_using_schema.py +113 -47
  36. simtools/applications/validate_optics.py +17 -22
  37. simtools/camera_efficiency.py +193 -202
  38. simtools/configuration/commandline_parser.py +384 -96
  39. simtools/configuration/configurator.py +55 -71
  40. simtools/constants.py +5 -5
  41. simtools/corsika/corsika_config.py +482 -342
  42. simtools/corsika/corsika_histograms.py +226 -204
  43. simtools/corsika/corsika_histograms_visualize.py +23 -24
  44. simtools/corsika/primary_particle.py +159 -0
  45. simtools/data_model/data_reader.py +25 -20
  46. simtools/data_model/format_checkers.py +52 -0
  47. simtools/data_model/metadata_collector.py +210 -184
  48. simtools/data_model/metadata_model.py +115 -37
  49. simtools/data_model/model_data_writer.py +335 -26
  50. simtools/data_model/validate_data.py +366 -154
  51. simtools/db/db_array_elements.py +130 -0
  52. simtools/db/db_from_repo_handler.py +106 -0
  53. simtools/db/db_handler.py +1246 -0
  54. simtools/io_operations/hdf5_handler.py +3 -1
  55. simtools/io_operations/io_handler.py +32 -57
  56. simtools/job_execution/job_manager.py +82 -69
  57. simtools/layout/array_layout.py +325 -537
  58. simtools/layout/geo_coordinates.py +8 -11
  59. simtools/layout/telescope_position.py +163 -86
  60. simtools/model/array_model.py +305 -256
  61. simtools/model/calibration_model.py +50 -0
  62. simtools/model/camera.py +233 -493
  63. simtools/model/mirrors.py +61 -44
  64. simtools/model/model_parameter.py +602 -0
  65. simtools/model/model_utils.py +7 -35
  66. simtools/model/site_model.py +161 -0
  67. simtools/model/telescope_model.py +127 -621
  68. simtools/production_configuration/calculate_statistical_errors_grid_point.py +454 -0
  69. simtools/production_configuration/event_scaler.py +146 -0
  70. simtools/production_configuration/generate_simulation_config.py +193 -0
  71. simtools/production_configuration/interpolation_handler.py +197 -0
  72. simtools/ray_tracing/__init__.py +0 -0
  73. simtools/ray_tracing/mirror_panel_psf.py +280 -0
  74. simtools/{psf_analysis.py → ray_tracing/psf_analysis.py} +133 -47
  75. simtools/ray_tracing/ray_tracing.py +646 -0
  76. simtools/runners/__init__.py +0 -0
  77. simtools/runners/corsika_runner.py +240 -0
  78. simtools/runners/corsika_simtel_runner.py +225 -0
  79. simtools/runners/runner_services.py +307 -0
  80. simtools/runners/simtel_runner.py +224 -0
  81. simtools/schemas/array_elements.yml +137 -0
  82. simtools/schemas/integration_tests_config.metaschema.yml +93 -0
  83. simtools/schemas/metadata.metaschema.yml +6 -0
  84. simtools/schemas/model_parameter.metaschema.yml +78 -0
  85. simtools/schemas/{data.metaschema.yml → model_parameter_and_data_schema.metaschema.yml} +27 -44
  86. simtools/schemas/model_parameters/adjust_gain.schema.yml +37 -0
  87. simtools/schemas/model_parameters/altitude.schema.yml +37 -0
  88. simtools/schemas/model_parameters/array_coordinates.schema.yml +33 -0
  89. simtools/schemas/model_parameters/array_coordinates_UTM.schema.yml +77 -0
  90. simtools/schemas/model_parameters/array_element_position_ground.schema.yml +39 -0
  91. simtools/schemas/model_parameters/array_element_position_utm.schema.yml +39 -0
  92. simtools/schemas/model_parameters/array_layouts.schema.yml +48 -0
  93. simtools/schemas/model_parameters/array_triggers.schema.yml +93 -0
  94. simtools/schemas/model_parameters/asum_clipping.schema.yml +38 -0
  95. simtools/schemas/model_parameters/asum_offset.schema.yml +35 -0
  96. simtools/schemas/model_parameters/asum_shaping.schema.yml +35 -0
  97. simtools/schemas/model_parameters/asum_threshold.schema.yml +38 -0
  98. simtools/schemas/model_parameters/atmospheric_profile.schema.yml +32 -0
  99. simtools/schemas/model_parameters/atmospheric_transmission.schema.yml +35 -0
  100. simtools/schemas/model_parameters/axes_offsets.schema.yml +53 -0
  101. simtools/schemas/model_parameters/camera_body_diameter.schema.yml +40 -0
  102. simtools/schemas/model_parameters/camera_body_shape.schema.yml +45 -0
  103. simtools/schemas/model_parameters/camera_config_file.schema.yml +40 -0
  104. simtools/schemas/model_parameters/camera_config_rotate.schema.yml +36 -0
  105. simtools/schemas/model_parameters/camera_degraded_efficiency.schema.yml +43 -0
  106. simtools/schemas/model_parameters/camera_degraded_map.schema.yml +42 -0
  107. simtools/schemas/model_parameters/camera_depth.schema.yml +42 -0
  108. simtools/schemas/model_parameters/camera_filter.schema.yml +45 -0
  109. simtools/schemas/model_parameters/camera_filter_incidence_angle.schema.yml +29 -0
  110. simtools/schemas/model_parameters/camera_pixels.schema.yml +36 -0
  111. simtools/schemas/model_parameters/camera_transmission.schema.yml +41 -0
  112. simtools/schemas/model_parameters/channels_per_chip.schema.yml +36 -0
  113. simtools/schemas/model_parameters/correct_nsb_spectrum_to_telescope_altitude.schema.yml +35 -0
  114. simtools/schemas/model_parameters/corsika_cherenkov_photon_bunch_size.schema.yml +27 -0
  115. simtools/schemas/model_parameters/corsika_cherenkov_photon_wavelength_range.schema.yml +38 -0
  116. simtools/schemas/model_parameters/corsika_first_interaction_height.schema.yml +28 -0
  117. simtools/schemas/model_parameters/corsika_iact_io_buffer.schema.yml +23 -0
  118. simtools/schemas/model_parameters/corsika_iact_max_bunches.schema.yml +27 -0
  119. simtools/schemas/model_parameters/corsika_iact_split_auto.schema.yml +28 -0
  120. simtools/schemas/model_parameters/corsika_longitudinal_shower_development.schema.yml +27 -0
  121. simtools/schemas/model_parameters/corsika_observation_level.schema.yml +38 -0
  122. simtools/schemas/model_parameters/corsika_particle_kinetic_energy_cutoff.schema.yml +52 -0
  123. simtools/schemas/model_parameters/corsika_starting_grammage.schema.yml +27 -0
  124. simtools/schemas/model_parameters/dark_events.schema.yml +32 -0
  125. simtools/schemas/model_parameters/default_trigger.schema.yml +35 -0
  126. simtools/schemas/model_parameters/design_model.schema.yml +31 -0
  127. simtools/schemas/model_parameters/disc_ac_coupled.schema.yml +32 -0
  128. simtools/schemas/model_parameters/disc_bins.schema.yml +39 -0
  129. simtools/schemas/model_parameters/disc_start.schema.yml +41 -0
  130. simtools/schemas/model_parameters/discriminator_amplitude.schema.yml +42 -0
  131. simtools/schemas/model_parameters/discriminator_fall_time.schema.yml +41 -0
  132. simtools/schemas/model_parameters/discriminator_gate_length.schema.yml +41 -0
  133. simtools/schemas/model_parameters/discriminator_hysteresis.schema.yml +39 -0
  134. simtools/schemas/model_parameters/discriminator_output_amplitude.schema.yml +40 -0
  135. simtools/schemas/model_parameters/discriminator_output_var_percent.schema.yml +41 -0
  136. simtools/schemas/model_parameters/discriminator_pulse_shape.schema.yml +33 -0
  137. simtools/schemas/model_parameters/discriminator_rise_time.schema.yml +42 -0
  138. simtools/schemas/model_parameters/discriminator_scale_threshold.schema.yml +37 -0
  139. simtools/schemas/model_parameters/discriminator_sigsum_over_threshold.schema.yml +44 -0
  140. simtools/schemas/model_parameters/discriminator_threshold.schema.yml +36 -0
  141. simtools/schemas/model_parameters/discriminator_time_over_threshold.schema.yml +45 -0
  142. simtools/schemas/model_parameters/discriminator_var_gate_length.schema.yml +40 -0
  143. simtools/schemas/model_parameters/discriminator_var_sigsum_over_threshold.schema.yml +41 -0
  144. simtools/schemas/model_parameters/discriminator_var_threshold.schema.yml +38 -0
  145. simtools/schemas/model_parameters/discriminator_var_time_over_threshold.schema.yml +38 -0
  146. simtools/schemas/model_parameters/dish_shape_length.schema.yml +41 -0
  147. simtools/schemas/model_parameters/dsum_clipping.schema.yml +38 -0
  148. simtools/schemas/model_parameters/dsum_ignore_below.schema.yml +38 -0
  149. simtools/schemas/model_parameters/dsum_offset.schema.yml +37 -0
  150. simtools/schemas/model_parameters/dsum_pedsub.schema.yml +33 -0
  151. simtools/schemas/model_parameters/dsum_pre_clipping.schema.yml +39 -0
  152. simtools/schemas/model_parameters/dsum_prescale.schema.yml +44 -0
  153. simtools/schemas/model_parameters/dsum_presum_max.schema.yml +38 -0
  154. simtools/schemas/model_parameters/dsum_presum_shift.schema.yml +45 -0
  155. simtools/schemas/model_parameters/dsum_shaping.schema.yml +44 -0
  156. simtools/schemas/model_parameters/dsum_shaping_renormalize.schema.yml +32 -0
  157. simtools/schemas/model_parameters/dsum_threshold.schema.yml +43 -0
  158. simtools/schemas/model_parameters/dsum_zero_clip.schema.yml +42 -0
  159. simtools/schemas/model_parameters/effective_focal_length.schema.yml +61 -0
  160. simtools/schemas/model_parameters/epsg_code.schema.yml +37 -0
  161. simtools/schemas/model_parameters/fadc_ac_coupled.schema.yml +35 -0
  162. simtools/schemas/model_parameters/fadc_amplitude.schema.yml +46 -0
  163. simtools/schemas/model_parameters/fadc_bins.schema.yml +40 -0
  164. simtools/schemas/model_parameters/fadc_compensate_pedestal.schema.yml +50 -0
  165. simtools/schemas/model_parameters/fadc_dev_pedestal.schema.yml +38 -0
  166. simtools/schemas/model_parameters/fadc_err_compensate_pedestal.schema.yml +42 -0
  167. simtools/schemas/model_parameters/fadc_err_pedestal.schema.yml +49 -0
  168. simtools/schemas/model_parameters/fadc_lg_amplitude.schema.yml +47 -0
  169. simtools/schemas/model_parameters/fadc_lg_compensate_pedestal.schema.yml +51 -0
  170. simtools/schemas/model_parameters/fadc_lg_dev_pedestal.schema.yml +37 -0
  171. simtools/schemas/model_parameters/fadc_lg_err_compensate_pedestal.schema.yml +43 -0
  172. simtools/schemas/model_parameters/fadc_lg_err_pedestal.schema.yml +49 -0
  173. simtools/schemas/model_parameters/fadc_lg_max_signal.schema.yml +43 -0
  174. simtools/schemas/model_parameters/fadc_lg_max_sum.schema.yml +39 -0
  175. simtools/schemas/model_parameters/fadc_lg_noise.schema.yml +42 -0
  176. simtools/schemas/model_parameters/fadc_lg_pedestal.schema.yml +40 -0
  177. simtools/schemas/model_parameters/fadc_lg_sensitivity.schema.yml +50 -0
  178. simtools/schemas/model_parameters/fadc_lg_sysvar_pedestal.schema.yml +42 -0
  179. simtools/schemas/model_parameters/fadc_lg_var_pedestal.schema.yml +41 -0
  180. simtools/schemas/model_parameters/fadc_lg_var_sensitivity.schema.yml +42 -0
  181. simtools/schemas/model_parameters/fadc_max_signal.schema.yml +43 -0
  182. simtools/schemas/model_parameters/fadc_max_sum.schema.yml +39 -0
  183. simtools/schemas/model_parameters/fadc_mhz.schema.yml +31 -0
  184. simtools/schemas/model_parameters/fadc_noise.schema.yml +41 -0
  185. simtools/schemas/model_parameters/fadc_pedestal.schema.yml +40 -0
  186. simtools/schemas/model_parameters/fadc_pulse_shape.schema.yml +39 -0
  187. simtools/schemas/model_parameters/fadc_sensitivity.schema.yml +50 -0
  188. simtools/schemas/model_parameters/fadc_sum_bins.schema.yml +43 -0
  189. simtools/schemas/model_parameters/fadc_sum_offset.schema.yml +43 -0
  190. simtools/schemas/model_parameters/fadc_sysvar_pedestal.schema.yml +42 -0
  191. simtools/schemas/model_parameters/fadc_var_pedestal.schema.yml +41 -0
  192. simtools/schemas/model_parameters/fadc_var_sensitivity.schema.yml +42 -0
  193. simtools/schemas/model_parameters/flatfielding.schema.yml +37 -0
  194. simtools/schemas/model_parameters/focal_length.schema.yml +45 -0
  195. simtools/schemas/model_parameters/focal_surface_parameters.schema.yml +158 -0
  196. simtools/schemas/model_parameters/focal_surface_ref_radius.schema.yml +29 -0
  197. simtools/schemas/model_parameters/focus_offset.schema.yml +66 -0
  198. simtools/schemas/model_parameters/gain_variation.schema.yml +43 -0
  199. simtools/schemas/model_parameters/geomag_horizontal.schema.yml +34 -0
  200. simtools/schemas/model_parameters/geomag_rotation.schema.yml +37 -0
  201. simtools/schemas/model_parameters/geomag_vertical.schema.yml +34 -0
  202. simtools/schemas/model_parameters/hg_lg_variation.schema.yml +36 -0
  203. simtools/schemas/model_parameters/iobuf_maximum.schema.yml +34 -0
  204. simtools/schemas/model_parameters/iobuf_output_maximum.schema.yml +34 -0
  205. simtools/schemas/model_parameters/laser_events.schema.yml +36 -0
  206. simtools/schemas/model_parameters/laser_external_trigger.schema.yml +35 -0
  207. simtools/schemas/model_parameters/laser_photons.schema.yml +32 -0
  208. simtools/schemas/model_parameters/laser_pulse_exptime.schema.yml +34 -0
  209. simtools/schemas/model_parameters/laser_pulse_offset.schema.yml +34 -0
  210. simtools/schemas/model_parameters/laser_pulse_sigtime.schema.yml +33 -0
  211. simtools/schemas/model_parameters/laser_pulse_twidth.schema.yml +33 -0
  212. simtools/schemas/model_parameters/laser_var_photons.schema.yml +33 -0
  213. simtools/schemas/model_parameters/laser_wavelength.schema.yml +33 -0
  214. simtools/schemas/model_parameters/led_events.schema.yml +34 -0
  215. simtools/schemas/model_parameters/led_photons.schema.yml +34 -0
  216. simtools/schemas/model_parameters/led_pulse_offset.schema.yml +32 -0
  217. simtools/schemas/model_parameters/led_pulse_sigtime.schema.yml +33 -0
  218. simtools/schemas/model_parameters/led_var_photons.schema.yml +34 -0
  219. simtools/schemas/model_parameters/lightguide_efficiency_vs_incidence_angle.schema.yml +41 -0
  220. simtools/schemas/model_parameters/lightguide_efficiency_vs_wavelength.schema.yml +43 -0
  221. simtools/schemas/model_parameters/min_photoelectrons.schema.yml +35 -0
  222. simtools/schemas/model_parameters/min_photons.schema.yml +32 -0
  223. simtools/schemas/model_parameters/mirror_align_random_distance.schema.yml +36 -0
  224. simtools/schemas/model_parameters/mirror_align_random_horizontal.schema.yml +64 -0
  225. simtools/schemas/model_parameters/mirror_align_random_vertical.schema.yml +64 -0
  226. simtools/schemas/model_parameters/mirror_class.schema.yml +41 -0
  227. simtools/schemas/model_parameters/mirror_degraded_reflection.schema.yml +51 -0
  228. simtools/schemas/model_parameters/mirror_focal_length.schema.yml +42 -0
  229. simtools/schemas/model_parameters/mirror_list.schema.yml +38 -0
  230. simtools/schemas/model_parameters/mirror_offset.schema.yml +41 -0
  231. simtools/schemas/model_parameters/mirror_panel_2f_measurements.schema.yml +39 -0
  232. simtools/schemas/model_parameters/mirror_reflection_random_angle.schema.yml +61 -0
  233. simtools/schemas/model_parameters/mirror_reflectivity.schema.yml +40 -0
  234. simtools/schemas/model_parameters/multiplicity_offset.schema.yml +46 -0
  235. simtools/schemas/model_parameters/nsb_autoscale_airmass.schema.yml +51 -0
  236. simtools/schemas/model_parameters/nsb_gain_drop_scale.schema.yml +37 -0
  237. simtools/schemas/model_parameters/nsb_offaxis.schema.yml +79 -0
  238. simtools/schemas/model_parameters/nsb_pixel_rate.schema.yml +47 -0
  239. simtools/schemas/model_parameters/nsb_reference_spectrum.schema.yml +34 -0
  240. simtools/schemas/model_parameters/nsb_reference_value.schema.yml +33 -0
  241. simtools/schemas/model_parameters/nsb_scaling_factor.schema.yml +35 -0
  242. simtools/schemas/model_parameters/nsb_skymap.schema.yml +39 -0
  243. simtools/schemas/model_parameters/nsb_spectrum.schema.yml +50 -0
  244. simtools/schemas/model_parameters/num_gains.schema.yml +34 -0
  245. simtools/schemas/model_parameters/only_triggered_telescopes.schema.yml +33 -0
  246. simtools/schemas/model_parameters/optics_properties.schema.yml +31 -0
  247. simtools/schemas/model_parameters/parabolic_dish.schema.yml +32 -0
  248. simtools/schemas/model_parameters/pedestal_events.schema.yml +32 -0
  249. simtools/schemas/model_parameters/photon_delay.schema.yml +38 -0
  250. simtools/schemas/model_parameters/photons_per_run.schema.yml +33 -0
  251. simtools/schemas/model_parameters/pixel_cells.schema.yml +35 -0
  252. simtools/schemas/model_parameters/pixels_parallel.schema.yml +54 -0
  253. simtools/schemas/model_parameters/pixeltrg_time_step.schema.yml +40 -0
  254. simtools/schemas/model_parameters/pm_average_gain.schema.yml +34 -0
  255. simtools/schemas/model_parameters/pm_collection_efficiency.schema.yml +40 -0
  256. simtools/schemas/model_parameters/pm_gain_index.schema.yml +36 -0
  257. simtools/schemas/model_parameters/pm_photoelectron_spectrum.schema.yml +41 -0
  258. simtools/schemas/model_parameters/pm_transit_time.schema.yml +63 -0
  259. simtools/schemas/model_parameters/pm_voltage_variation.schema.yml +39 -0
  260. simtools/schemas/model_parameters/primary_mirror_degraded_map.schema.yml +42 -0
  261. simtools/schemas/model_parameters/primary_mirror_diameter.schema.yml +33 -0
  262. simtools/schemas/model_parameters/primary_mirror_hole_diameter.schema.yml +33 -0
  263. simtools/schemas/model_parameters/primary_mirror_incidence_angle.schema.yml +29 -0
  264. simtools/schemas/model_parameters/primary_mirror_parameters.schema.yml +168 -0
  265. simtools/schemas/model_parameters/primary_mirror_ref_radius.schema.yml +36 -0
  266. simtools/schemas/model_parameters/primary_mirror_segmentation.schema.yml +34 -0
  267. simtools/schemas/model_parameters/qe_variation.schema.yml +43 -0
  268. simtools/schemas/model_parameters/quantum_efficiency.schema.yml +42 -0
  269. simtools/schemas/model_parameters/random_focal_length.schema.yml +45 -0
  270. simtools/schemas/model_parameters/random_generator.schema.yml +36 -0
  271. simtools/schemas/model_parameters/reference_point_altitude.schema.yml +35 -0
  272. simtools/schemas/model_parameters/reference_point_latitude.schema.yml +36 -0
  273. simtools/schemas/model_parameters/reference_point_longitude.schema.yml +36 -0
  274. simtools/schemas/model_parameters/reference_point_utm_east.schema.yml +34 -0
  275. simtools/schemas/model_parameters/reference_point_utm_north.schema.yml +34 -0
  276. simtools/schemas/model_parameters/sampled_output.schema.yml +31 -0
  277. simtools/schemas/model_parameters/save_pe_with_amplitude.schema.yml +34 -0
  278. simtools/schemas/model_parameters/secondary_mirror_baffle.schema.yml +79 -0
  279. simtools/schemas/model_parameters/secondary_mirror_degraded_map.schema.yml +42 -0
  280. simtools/schemas/model_parameters/secondary_mirror_degraded_reflection.schema.yml +41 -0
  281. simtools/schemas/model_parameters/secondary_mirror_diameter.schema.yml +33 -0
  282. simtools/schemas/model_parameters/secondary_mirror_hole_diameter.schema.yml +36 -0
  283. simtools/schemas/model_parameters/secondary_mirror_incidence_angle.schema.yml +29 -0
  284. simtools/schemas/model_parameters/secondary_mirror_parameters.schema.yml +168 -0
  285. simtools/schemas/model_parameters/secondary_mirror_ref_radius.schema.yml +36 -0
  286. simtools/schemas/model_parameters/secondary_mirror_reflectivity.schema.yml +35 -0
  287. simtools/schemas/model_parameters/secondary_mirror_segmentation.schema.yml +37 -0
  288. simtools/schemas/model_parameters/secondary_mirror_shadow_diameter.schema.yml +40 -0
  289. simtools/schemas/model_parameters/secondary_mirror_shadow_offset.schema.yml +40 -0
  290. simtools/schemas/model_parameters/store_photoelectrons.schema.yml +41 -0
  291. simtools/schemas/model_parameters/tailcut_scale.schema.yml +40 -0
  292. simtools/schemas/model_parameters/telescope_axis_height.schema.yml +31 -0
  293. simtools/schemas/model_parameters/telescope_random_angle.schema.yml +35 -0
  294. simtools/schemas/model_parameters/telescope_random_error.schema.yml +34 -0
  295. simtools/schemas/model_parameters/telescope_sphere_radius.schema.yml +37 -0
  296. simtools/schemas/model_parameters/telescope_transmission.schema.yml +113 -0
  297. simtools/schemas/model_parameters/teltrig_min_sigsum.schema.yml +41 -0
  298. simtools/schemas/model_parameters/teltrig_min_time.schema.yml +36 -0
  299. simtools/schemas/model_parameters/transit_time_calib_error.schema.yml +36 -0
  300. simtools/schemas/model_parameters/transit_time_compensate_error.schema.yml +37 -0
  301. simtools/schemas/model_parameters/transit_time_compensate_step.schema.yml +38 -0
  302. simtools/schemas/model_parameters/transit_time_error.schema.yml +45 -0
  303. simtools/schemas/model_parameters/transit_time_jitter.schema.yml +36 -0
  304. simtools/schemas/model_parameters/trigger_current_limit.schema.yml +32 -0
  305. simtools/schemas/model_parameters/trigger_delay_compensation.schema.yml +53 -0
  306. simtools/schemas/model_parameters/trigger_pixels.schema.yml +40 -0
  307. simtools/simtel/simtel_config_reader.py +353 -0
  308. simtools/simtel/simtel_config_writer.py +244 -63
  309. simtools/simtel/{simtel_events.py → simtel_io_events.py} +26 -25
  310. simtools/simtel/simtel_io_histogram.py +661 -0
  311. simtools/simtel/simtel_io_histograms.py +569 -0
  312. simtools/simtel/simulator_array.py +145 -0
  313. simtools/simtel/{simtel_runner_camera_efficiency.py → simulator_camera_efficiency.py} +76 -52
  314. simtools/simtel/simulator_light_emission.py +473 -0
  315. simtools/simtel/simulator_ray_tracing.py +262 -0
  316. simtools/simulator.py +220 -446
  317. simtools/testing/__init__.py +0 -0
  318. simtools/testing/assertions.py +151 -0
  319. simtools/testing/configuration.py +226 -0
  320. simtools/testing/helpers.py +42 -0
  321. simtools/testing/validate_output.py +240 -0
  322. simtools/utils/general.py +340 -437
  323. simtools/utils/geometry.py +12 -12
  324. simtools/utils/names.py +258 -644
  325. simtools/utils/value_conversion.py +176 -0
  326. simtools/version.py +2 -0
  327. simtools/visualization/legend_handlers.py +135 -152
  328. simtools/visualization/plot_camera.py +379 -0
  329. simtools/visualization/visualize.py +346 -167
  330. gammasimtools-0.6.1.dist-info/METADATA +0 -180
  331. gammasimtools-0.6.1.dist-info/RECORD +0 -91
  332. gammasimtools-0.6.1.dist-info/entry_points.txt +0 -23
  333. simtools/applications/db_development_tools/add_new_parameter_to_db.py +0 -81
  334. simtools/applications/db_development_tools/add_unit_to_parameter_in_db.py +0 -59
  335. simtools/applications/db_development_tools/mark_non_optics_parameters_non_applicable.py +0 -102
  336. simtools/applications/get_parameter.py +0 -92
  337. simtools/applications/make_regular_arrays.py +0 -160
  338. simtools/applications/produce_array_config.py +0 -136
  339. simtools/applications/production.py +0 -313
  340. simtools/applications/sim_showers_for_trigger_rates.py +0 -187
  341. simtools/applications/tune_psf.py +0 -334
  342. simtools/corsika/corsika_default_config.py +0 -282
  343. simtools/corsika/corsika_runner.py +0 -450
  344. simtools/corsika_simtel/corsika_simtel_runner.py +0 -197
  345. simtools/db_handler.py +0 -1480
  346. simtools/ray_tracing.py +0 -525
  347. simtools/simtel/simtel_histograms.py +0 -414
  348. simtools/simtel/simtel_runner.py +0 -244
  349. simtools/simtel/simtel_runner_array.py +0 -293
  350. simtools/simtel/simtel_runner_ray_tracing.py +0 -277
  351. {gammasimtools-0.6.1.dist-info → gammasimtools-0.8.1.dist-info}/LICENSE +0 -0
  352. {gammasimtools-0.6.1.dist-info → gammasimtools-0.8.1.dist-info}/top_level.txt +0 -0
  353. /simtools/{corsika_simtel → db}/__init__.py +0 -0
@@ -0,0 +1,42 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for fadc_var_sensitivity model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: fadc_var_sensitivity
9
+ description: |-
10
+ Relative variations in sensitivity (even for FADCs of the same channel).
11
+ data:
12
+ - type: double
13
+ description: |-
14
+ Relative variations in sensitivity
15
+ (for high-gain channel in case of dual-readout chain).
16
+ unit: dimensionless
17
+ default: 0.02
18
+ allowed_range:
19
+ min: 0.0
20
+ instrument:
21
+ class: Camera
22
+ type:
23
+ - LSTN
24
+ - LSTS
25
+ - MSTN
26
+ - MSTS
27
+ - SSTS
28
+ - SCTS
29
+ activity:
30
+ setting:
31
+ - SetParameterFromExternal
32
+ validation:
33
+ - ValidateParameterByExpert
34
+ - ValidatePedestalEvents
35
+ - ValidateReadout
36
+ - ValidateCameraChargeResponse
37
+ - ValidateCameraLinearity
38
+ - ValidateTelescopeSimulationModel
39
+ source:
40
+ - Calibration
41
+ simulation_software:
42
+ - name: sim_telarray
@@ -0,0 +1,37 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for flatfielding model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: flatfielding
9
+ developer_note: |-
10
+ This is of integer type in sim_telarray with allowed values 0 and 1.
11
+ Assigned here as type boolean, discuss if this is correct.
12
+ description: |-
13
+ If enabled, the gains in pixels are adjusted to achieve the same signal
14
+ from the same illumination. If disabled, the gains are adjusted to
15
+ have equal single-p.e. amplitudes.
16
+ instrument:
17
+ class: Camera
18
+ type:
19
+ - LSTN
20
+ - LSTS
21
+ - MSTN
22
+ - MSTS
23
+ - SSTS
24
+ - SCTS
25
+ data:
26
+ - type: boolean
27
+ unit: dimensionless
28
+ default: 1
29
+ activity:
30
+ setting:
31
+ - SetParameterFromExternal
32
+ validation:
33
+ - ValidateParameterByExpert
34
+ source:
35
+ - Initial instrument setup
36
+ simulation_software:
37
+ - name: sim_telarray
@@ -0,0 +1,45 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for focal_length model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: focal_length
9
+ description: |-
10
+ Nominal overall focal length of the entire telescope. This defines the
11
+ image scale near the centre of the field of view. For segmented primary
12
+ focus telescopes this determines the alignment of the segments and the
13
+ separation from the reflector, at its centre to the camera. The
14
+ alignment focus is on the surface determined by the par:focus-offset
15
+ (see parameter description for details). For secondary mirror
16
+ configurations this value is not actually used in the optics simulation
17
+ but only reported as a nominal value, typically close to the effective
18
+ focal length.
19
+ short_description: Nominal overall focal length of the entire telescope.
20
+ data:
21
+ - type: double
22
+ unit: cm
23
+ default: 1500.0
24
+ allowed_range:
25
+ min: 10.0
26
+ max: 10000.0
27
+ instrument:
28
+ class: Structure
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
+ - ValidateTelescopeStructure
42
+ source:
43
+ - Initial instrument setup
44
+ simulation_software:
45
+ - name: sim_telarray
@@ -0,0 +1,158 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for focal_surface_parameters model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: focal_surface_parameters
9
+ description: |-
10
+ Defines the position of the focal surface along the optical axis and
11
+ its off-axis shape. The par:focus-offset still applies, but with a
12
+ curved focal surface only in the camera centre, such that star light
13
+ would be focused on the camera lid surface but light from the typical
14
+ distance of the shower maximum would be focused on the pixel entrance.
15
+ Note that this offset may be impractically small with secondary mirrors
16
+ reducing the plate scale. The direction of the incoming rays is not
17
+ transformed into the normal plane of the focal surface, thus
18
+ corresponding to pixels shifted w.r.t.\ to a plane.
19
+ short_description: |-
20
+ Defines the position of the focal surface along the optical axis and its
21
+ off-axis shape.
22
+ data:
23
+ - name: p0
24
+ type: double
25
+ description: coefficient describing focal surface
26
+ required: true
27
+ unit: cm
28
+ default: 0.
29
+ - name: p1
30
+ type: double
31
+ description: coefficient describing focal surface
32
+ required: true
33
+ unit: cm
34
+ default: 0.
35
+ - name: p2
36
+ type: double
37
+ description: coefficient describing focal surface
38
+ required: true
39
+ unit: cm
40
+ default: 0.
41
+ - name: p3
42
+ type: double
43
+ description: coefficient describing focal surface
44
+ required: true
45
+ unit: cm
46
+ default: 0.
47
+ - name: p4
48
+ type: double
49
+ description: coefficient describing focal surface
50
+ required: true
51
+ unit: cm
52
+ default: 0.
53
+ - name: p5
54
+ type: double
55
+ description: coefficient describing focal surface
56
+ required: true
57
+ unit: cm
58
+ default: 0.
59
+ - name: p6
60
+ type: double
61
+ description: coefficient describing focal surface
62
+ required: true
63
+ unit: cm
64
+ default: 0.
65
+ - name: p7
66
+ type: double
67
+ description: coefficient describing focal surface
68
+ required: true
69
+ unit: cm
70
+ default: 0.
71
+ - name: p8
72
+ type: double
73
+ description: coefficient describing focal surface
74
+ required: true
75
+ unit: cm
76
+ default: 0.
77
+ - name: p9
78
+ type: double
79
+ description: coefficient describing focal surface
80
+ required: true
81
+ unit: cm
82
+ default: 0.
83
+ - name: p10
84
+ type: double
85
+ description: coefficient describing focal surface
86
+ required: true
87
+ unit: cm
88
+ default: 0.
89
+ - name: p11
90
+ type: double
91
+ description: coefficient describing focal surface
92
+ required: true
93
+ unit: cm
94
+ default: 0.
95
+ - name: p12
96
+ type: double
97
+ description: coefficient describing focal surface
98
+ required: true
99
+ unit: cm
100
+ default: 0.
101
+ - name: p13
102
+ type: double
103
+ description: coefficient describing focal surface
104
+ required: true
105
+ unit: cm
106
+ default: 0.
107
+ - name: p14
108
+ type: double
109
+ description: coefficient describing focal surface
110
+ required: true
111
+ unit: cm
112
+ default: 0.
113
+ - name: p15
114
+ type: double
115
+ description: coefficient describing focal surface
116
+ required: true
117
+ unit: cm
118
+ default: 0.
119
+ - name: p16
120
+ type: double
121
+ description: coefficient describing focal surface
122
+ required: true
123
+ unit: cm
124
+ default: 0.
125
+ - name: p17
126
+ type: double
127
+ description: coefficient describing focal surface
128
+ required: true
129
+ unit: cm
130
+ default: 0.
131
+ - name: p18
132
+ type: double
133
+ description: coefficient describing focal surface
134
+ required: true
135
+ unit: cm
136
+ default: 0.
137
+ - name: p19
138
+ type: double
139
+ description: coefficient describing focal surface
140
+ required: true
141
+ unit: cm
142
+ default: 0.
143
+ instrument:
144
+ class: Structure
145
+ type:
146
+ - SSTS
147
+ - SCTS
148
+ activity:
149
+ setting:
150
+ - SetParameterFromExternal
151
+ validation:
152
+ - ValidateParameterByExpert
153
+ - ValidateCameraGeometry
154
+ - ValidateOpticalPSF
155
+ source:
156
+ - Initial instrument setup
157
+ simulation_software:
158
+ - name: sim_telarray
@@ -0,0 +1,29 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for focal_surface_ref_radius model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: focal_surface_ref_radius
9
+ description: The length scale to which the focal_surface_parameters apply.
10
+ data:
11
+ - type: double
12
+ condition: mirror_class==2
13
+ unit: cm
14
+ default: 1.0
15
+ instrument:
16
+ class: Structure
17
+ type:
18
+ - SSTS
19
+ - SCTS
20
+ activity:
21
+ setting:
22
+ - SetParameterFromExternal
23
+ validation:
24
+ - ValidateParameterByExpert
25
+ - ValidateTelescopeStructure
26
+ source:
27
+ - Initial instrument setup
28
+ simulation_software:
29
+ - name: sim_telarray
@@ -0,0 +1,66 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for focus_offset model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: focus_offset
9
+ description: |-
10
+ Distance of the starlight focus from the camera pixels (light guides)
11
+ entry. In telescopes without dynamic focusing capability (either
12
+ through mirror alignment and camera positioning) this is best set
13
+ such that starlight gets focused onto the camera lid while showers
14
+ are focused onto the pixel entry.
15
+ Zenith angle dependence of the focus offset can be applied and includes
16
+ the constant value $\Delta_0$ and terms depending on cosine and sine
17
+ of the zenith angle. The total focus offset is
18
+ $\Delta = \Delta_0 + \Delta_c + \Delta_s$.
19
+ Set to zero for all 2M telescope types, as it is already included in
20
+ the first of the par:focal-surface-parameters values, assuming the
21
+ design value of that is for a light source at a typical shower maximum
22
+ distance.
23
+ short_description: |-
24
+ Distance of the starlight focus from the camera pixels (light guides)
25
+ entry.
26
+ data:
27
+ - type: double
28
+ name: focus_offset
29
+ description: Constant focus offset $\Delta_0$.
30
+ unit: cm
31
+ default: 2.8
32
+ - type: double
33
+ description: Zenith angle $\Delta_0$ at which minimum is reached.
34
+ unit: deg
35
+ default: 28.0
36
+ - type: double
37
+ description: |-
38
+ Scaling term $k_c$ in
39
+ $\Delta_c = (\cos(\theta)-\cos(\theta_0)) / k_c$.
40
+ unit: dimensionless
41
+ default: 0.0
42
+ - type: double
43
+ description: |-
44
+ Scaling term $k_s$ in
45
+ $\Delta_s = (\sin(\theta)-\sin(\theta_0)) / k_s$.
46
+ unit: dimensionless
47
+ default: 0.0
48
+ instrument:
49
+ class: Structure
50
+ type:
51
+ - LSTN
52
+ - LSTS
53
+ - MSTN
54
+ - MSTS
55
+ - SSTS
56
+ - SCTS
57
+ activity:
58
+ setting:
59
+ - SetParameterFromExternal
60
+ validation:
61
+ - ValidateParameterByExpert
62
+ - ValidateOpticalPSF
63
+ source:
64
+ - Initial instrument setup
65
+ simulation_software:
66
+ - name: sim_telarray
@@ -0,0 +1,43 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for gain_variation model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: gain_variation
9
+ short_description: |-
10
+ Fractional gain variation between different photo detectors after
11
+ adjusting the voltage to have approximately the same gain in all channels.
12
+ description: |-
13
+ Fractional gain variation between different photo detectors after
14
+ adjusting the voltage to have approximately the same gain in all channels.
15
+ The parameter sets the Gaussian r.m.s. spread of random fluctuations, used
16
+ as \texttt{amplitude *= RandGaus(1., gain_variation)}.
17
+ data:
18
+ - type: double
19
+ unit: dimensionless
20
+ default: 0.02
21
+ allowed_range:
22
+ min: 0.0
23
+ instrument:
24
+ class: Camera
25
+ type:
26
+ - LSTN
27
+ - LSTS
28
+ - MSTN
29
+ - MSTS
30
+ - SSTS
31
+ - SCTS
32
+ activity:
33
+ setting:
34
+ - SetParameterFromExternal
35
+ validation:
36
+ - ValidateParameterByExpert
37
+ - ValidateCameraChargeResponse
38
+ - ValidateCameraGainsAndEfficiency
39
+ - ValidateTelescopeSimulationModel
40
+ source:
41
+ - Calibration
42
+ simulation_software:
43
+ - name: sim_telarray
@@ -0,0 +1,34 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for geomag_horizontal model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: geomag_horizontal
9
+ short_description: Horizontal component of geomagnetic field.
10
+ description: |-
11
+ Horizontal component in direction of magnetic North of the geomagnetic
12
+ field at given site.
13
+ data:
14
+ - type: double
15
+ unit: uT
16
+ instrument:
17
+ class: Site
18
+ type:
19
+ - Atmosphere
20
+ site:
21
+ - North
22
+ - South
23
+ activity:
24
+ setting:
25
+ - SetGeomagneticField
26
+ - SetParameterFromExternal
27
+ validation:
28
+ - ValidateParameterByExpert
29
+ - ValidateAtmosphericModel
30
+ - ValidateTelescopeSimulationModel
31
+ source:
32
+ - External
33
+ simulation_software:
34
+ - name: corsika
@@ -0,0 +1,37 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for geomag_rotation model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: geomag_rotation
9
+ short_description: Rotation angle between geographic South and geomagnetic North.
10
+ description: |-
11
+ Rotation angle between geographic South and geomagnetic North direction
12
+ (corresponds to CORSIKA ARRANG parameter).
13
+ data:
14
+ - type: double
15
+ unit: deg
16
+ allowed_range:
17
+ min: -180.0
18
+ max: 180.0
19
+ instrument:
20
+ class: Site
21
+ type:
22
+ - Atmosphere
23
+ site:
24
+ - North
25
+ - South
26
+ activity:
27
+ setting:
28
+ - SetGeomagneticField
29
+ - SetParameterFromExternal
30
+ validation:
31
+ - ValidateParameterByExpert
32
+ - ValidateAtmosphericModel
33
+ - ValidateTelescopeSimulationModel
34
+ source:
35
+ - External
36
+ simulation_software:
37
+ - name: corsika
@@ -0,0 +1,34 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for geomag_vertical model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: geomag_vertical
9
+ short_description: Vertical component of geomagnetic field.
10
+ description: |-
11
+ Vertical component in downwards direction of the geomagnetic
12
+ field at given site.
13
+ data:
14
+ - type: double
15
+ unit: uT
16
+ instrument:
17
+ class: Site
18
+ type:
19
+ - Atmosphere
20
+ site:
21
+ - North
22
+ - South
23
+ activity:
24
+ setting:
25
+ - SetGeomagneticField
26
+ - SetParameterFromExternal
27
+ validation:
28
+ - ValidateParameterByExpert
29
+ - ValidateAtmosphericModel
30
+ - ValidateTelescopeSimulationModel
31
+ source:
32
+ - External
33
+ simulation_software:
34
+ - name: corsika
@@ -0,0 +1,36 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for hg_lg_variation model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: hg_lg_variation
9
+ description: |-
10
+ Relative pixel-to-pixel variation of the ratio of high-gain to
11
+ low-gain amplitudes.
12
+ data:
13
+ - type: double
14
+ required: false
15
+ condition: num_gains==2
16
+ default: 0.0
17
+ allowed_range:
18
+ min: 0.0
19
+ max: 0.25
20
+ instrument:
21
+ class: Camera
22
+ type:
23
+ - LSTN
24
+ - LSTS
25
+ - MSTN
26
+ - MSTS
27
+ activity:
28
+ setting:
29
+ - SetParameterFromExternal
30
+ validation:
31
+ - ValidateParameterByExpert
32
+ - ValidateReadout
33
+ source:
34
+ - Calibration
35
+ simulation_software:
36
+ - name: sim_telarray
@@ -0,0 +1,34 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for iobuf_maximum model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: iobuf_maximum
9
+ description: |-
10
+ Buffer limits for input and output of eventio data.
11
+ data:
12
+ - type: int
13
+ unit: byte
14
+ default: 200000000
15
+ allowed_range:
16
+ min: 100000
17
+ instrument:
18
+ class: Camera
19
+ type:
20
+ - LSTN
21
+ - LSTS
22
+ - MSTN
23
+ - MSTS
24
+ - SSTS
25
+ - SCTS
26
+ activity:
27
+ setting:
28
+ - SetParameterFromExternal
29
+ validation:
30
+ - ValidateParameterByExpert
31
+ source:
32
+ - Configuration
33
+ simulation_software:
34
+ - name: sim_telarray
@@ -0,0 +1,34 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for iobuf_output_maximum model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: iobuf_output_maximum
9
+ description: |-
10
+ The maximum size of the I/O buffer for output data, including raw data for all telescopes.
11
+ data:
12
+ - type: int
13
+ unit: byte
14
+ default: 20000000
15
+ allowed_range:
16
+ min: 100000
17
+ instrument:
18
+ class: Camera
19
+ type:
20
+ - LSTN
21
+ - LSTS
22
+ - MSTN
23
+ - MSTS
24
+ - SSTS
25
+ - SCTS
26
+ activity:
27
+ setting:
28
+ - SetParameterFromExternal
29
+ validation:
30
+ - ValidateParameterByExpert
31
+ source:
32
+ - Configuration
33
+ simulation_software:
34
+ - name: sim_telarray
@@ -0,0 +1,36 @@
1
+ %YAML 1.2
2
+ ---
3
+ title: Schema for laser_events model parameter
4
+ version: 0.1.0
5
+ meta_schema: simpipe-schema
6
+ meta_schema_url: https://raw.githubusercontent.com/gammasim/simtools/main/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
7
+ meta_schema_version: 0.1.0
8
+ name: laser_events
9
+ description: |-
10
+ Laser (or LED or other pulsed light source) events at start of run, before the first shower event.\
11
+ The assumed light source would typically be in the center of the dish and is assumed to illuminate all pixels uniformly.\
12
+ The camera lid is assumed to be open, i.e. events will also be subject to NSB.\
13
+ A value of zero means that the data will not contain any such events.
14
+ short_description: |-
15
+ Relative variation of laser shots from shot to shot.
16
+ data:
17
+ - type: int
18
+ unit: dimensionless
19
+ default: 0
20
+ allowed_range:
21
+ min: 0
22
+
23
+ instrument:
24
+ class: Calibration
25
+ type:
26
+ - ILLN
27
+ - ILLS
28
+ activity:
29
+ setting:
30
+ - SetParameterFromExternal
31
+ validation:
32
+ - ValidateParameterByExpert
33
+ source:
34
+ - Initial instrument setup
35
+ simulation_software:
36
+ - name: sim_telarray