gammasimtools 0.17.0__py3-none-any.whl → 0.18.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 (44) hide show
  1. {gammasimtools-0.17.0.dist-info → gammasimtools-0.18.0.dist-info}/METADATA +2 -1
  2. {gammasimtools-0.17.0.dist-info → gammasimtools-0.18.0.dist-info}/RECORD +44 -42
  3. {gammasimtools-0.17.0.dist-info → gammasimtools-0.18.0.dist-info}/entry_points.txt +1 -0
  4. simtools/_version.py +2 -2
  5. simtools/applications/db_add_simulation_model_from_repository_to_db.py +10 -1
  6. simtools/applications/derive_mirror_rnda.py +1 -1
  7. simtools/applications/generate_simtel_event_data.py +95 -3
  8. simtools/applications/merge_tables.py +14 -16
  9. simtools/applications/plot_tabular_data.py +12 -1
  10. simtools/applications/plot_tabular_data_for_model_parameter.py +103 -0
  11. simtools/applications/production_derive_corsika_limits.py +61 -23
  12. simtools/configuration/commandline_parser.py +2 -1
  13. simtools/constants.py +2 -0
  14. simtools/data_model/schema.py +15 -1
  15. simtools/db/db_handler.py +5 -0
  16. simtools/io_operations/io_table_handler.py +1 -1
  17. simtools/layout/array_layout_utils.py +5 -1
  18. simtools/model/array_model.py +5 -1
  19. simtools/production_configuration/derive_corsika_limits_grid.py +46 -3
  20. simtools/resources/array-element-ids.json +126 -0
  21. simtools/schemas/model_parameter_and_data_schema.metaschema.yml +5 -1
  22. simtools/schemas/model_parameters/atmospheric_profile.schema.yml +41 -0
  23. simtools/schemas/model_parameters/atmospheric_transmission.schema.yml +43 -0
  24. simtools/schemas/model_parameters/camera_filter.schema.yml +10 -0
  25. simtools/schemas/model_parameters/camera_filter_incidence_angle.schema.yml +10 -0
  26. simtools/schemas/model_parameters/discriminator_pulse_shape.schema.yml +31 -0
  27. simtools/schemas/model_parameters/fadc_pulse_shape.schema.yml +12 -0
  28. simtools/schemas/model_parameters/lightguide_efficiency_vs_incidence_angle.schema.yml +10 -0
  29. simtools/schemas/model_parameters/mirror_reflectivity.schema.yml +10 -0
  30. simtools/schemas/model_parameters/nsb_reference_spectrum.schema.yml +12 -0
  31. simtools/schemas/model_parameters/pm_photoelectron_spectrum.schema.yml +19 -0
  32. simtools/schemas/model_parameters/quantum_efficiency.schema.yml +10 -0
  33. simtools/schemas/plot_configuration.metaschema.yml +46 -57
  34. simtools/simtel/simtel_io_event_reader.py +1 -1
  35. simtools/simtel/simtel_io_event_writer.py +37 -1
  36. simtools/simtel/simtel_io_metadata.py +99 -3
  37. simtools/utils/general.py +0 -2
  38. simtools/utils/names.py +71 -2
  39. simtools/visualization/plot_pixels.py +0 -1
  40. simtools/visualization/plot_tables.py +81 -2
  41. {gammasimtools-0.17.0.dist-info → gammasimtools-0.18.0.dist-info}/WHEEL +0 -0
  42. {gammasimtools-0.17.0.dist-info → gammasimtools-0.18.0.dist-info}/licenses/LICENSE +0 -0
  43. {gammasimtools-0.17.0.dist-info → gammasimtools-0.18.0.dist-info}/top_level.txt +0 -0
  44. /simtools/{schemas → resources}/array_elements.yml +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: gammasimtools
3
- Version: 0.17.0
3
+ Version: 0.18.0
4
4
  Summary: Tools for the Simulation System of the CTA Observatory
5
5
  Author-email: simtools developers <simtools-developer@desy.de>
6
6
  License-Expression: BSD-3-Clause
@@ -42,6 +42,7 @@ Requires-Dist: myst-parser; extra == "doc"
42
42
  Requires-Dist: numpydoc; extra == "doc"
43
43
  Requires-Dist: pydata-sphinx-theme; extra == "doc"
44
44
  Requires-Dist: sphinx; extra == "doc"
45
+ Requires-Dist: sphinx-design; extra == "doc"
45
46
  Requires-Dist: towncrier; extra == "doc"
46
47
  Provides-Extra: tests
47
48
  Requires-Dist: pytest; extra == "tests"
@@ -1,7 +1,7 @@
1
- gammasimtools-0.17.0.dist-info/licenses/LICENSE,sha256=idBrtxX6eQcUlG0YBTx-O2RNKNKg1Gidb8OQf9q0X7s,1543
1
+ gammasimtools-0.18.0.dist-info/licenses/LICENSE,sha256=idBrtxX6eQcUlG0YBTx-O2RNKNKg1Gidb8OQf9q0X7s,1543
2
2
  simtools/__init__.py,sha256=yvx0i5ygbllmMtF2Tzy7pohvhQNH_dBdj0Bt8bKFYpc,231
3
- simtools/_version.py,sha256=6lYqo2NiGNZ_O8QsSkzvYU60ogL4YFzN80126BkHcWw,513
4
- simtools/constants.py,sha256=jKPUSv8vptzr4x2JvD-wkqaXnTP60q4GniwMj6Rzztk,893
3
+ simtools/_version.py,sha256=39ujmhz5svfMANNOsFLYqf1M8R5Q8Ef9UiPUcoS3RJM,513
4
+ simtools/constants.py,sha256=3N5bc8MlMWRzcg8EeSJweoioEo_uhStMxAzdb85Apvw,966
5
5
  simtools/dependencies.py,sha256=3WHH6YaBAKpQByvS5edcB5R6v7hV_BTno5LZhzBib-c,4363
6
6
  simtools/simulator.py,sha256=cyicihvBOrxwoklzqyN7oWgmIKGPCLzqU9luE-oS73I,29384
7
7
  simtools/version.py,sha256=Fri_aFaUOmV8CIygd3DknAmJaFZ05OAeLd1AgZOcgdQ,688
@@ -10,14 +10,14 @@ simtools/applications/convert_all_model_parameters_from_simtel.py,sha256=mWevSRT
10
10
  simtools/applications/convert_geo_coordinates_of_array_elements.py,sha256=T_5REcOSTNoISKpnnFnMGJuBbk9OQhF6al4OI7p59v4,5947
11
11
  simtools/applications/convert_model_parameter_from_simtel.py,sha256=sQL4m3VM2k1MGn3gfC7vWZx6p9VcpauH1GkOk9PMkn0,3856
12
12
  simtools/applications/db_add_file_to_db.py,sha256=Jvesc9NL4OSGUMGKsZs0yyX2HyQfCwGJemLvMf8JQGY,5555
13
- simtools/applications/db_add_simulation_model_from_repository_to_db.py,sha256=KwPJ3OshCHMuQrZyG9Vx3nvPjsqOzbIxuxdnugYqbRY,3233
13
+ simtools/applications/db_add_simulation_model_from_repository_to_db.py,sha256=9o5gei7a2ObHik-aASGSMmIWHripDLzEj2ZRfs0_-To,3848
14
14
  simtools/applications/db_add_value_from_json_to_db.py,sha256=elO9goJOc4qCxyGrq9LCBAUuhenUq94ML5YhmuJaTP8,3693
15
15
  simtools/applications/db_get_array_layouts_from_db.py,sha256=2St5ZfcohXSHnDYiP326D4fqlbfsgREsC4lGJ5cDUPg,5122
16
16
  simtools/applications/db_get_file_from_db.py,sha256=GvuAJmqIBhlnbmbVIKRJRF5vltUdQJqbmakFzYdOflk,2749
17
17
  simtools/applications/db_get_parameter_from_db.py,sha256=7tOO4lxEucnr7jA9L6a04o3HZx1KQUvD11dUZaj9CzE,5157
18
18
  simtools/applications/db_inspect_databases.py,sha256=fQZvbdgunGjS86i4NTAgPg9TjKTiPbsuR3al2DPzLMM,1410
19
19
  simtools/applications/derive_ctao_array_layouts.py,sha256=n6bCW2hRXDg1GxynwouRJKQlBYeG2GCehx61tNvRLMA,4081
20
- simtools/applications/derive_mirror_rnda.py,sha256=tJvGxV-znPmx-GMZDThFw7Y-Wnd6q48fVwxze7DWNa4,8721
20
+ simtools/applications/derive_mirror_rnda.py,sha256=B4y5x73PBWLR8uViggP9LPkZmq1hOPIAyuhYSLTs8Xs,8704
21
21
  simtools/applications/derive_photon_electron_spectrum.py,sha256=8Dpz-XTlCmOvoKUFtq78B1of62k8ygyk5_r-ZxZYauo,3968
22
22
  simtools/applications/derive_psf_parameters.py,sha256=eCy_AjxlFH5nrW5nltnM5rZxX-I08grYvwugGyRuCFk,14181
23
23
  simtools/applications/docs_produce_array_element_report.py,sha256=3o_FxJpkAUkf6TvDZa7rtmSjLr4A7uvrtbGxsE85IoI,2499
@@ -29,12 +29,13 @@ simtools/applications/generate_corsika_histograms.py,sha256=lDTZTns4yOwcYdKgNGO0
29
29
  simtools/applications/generate_default_metadata.py,sha256=CtUq6ldprp_3mbSB2TXBHeNznUH3qCMkI381GwslWPA,2878
30
30
  simtools/applications/generate_regular_arrays.py,sha256=JZI4KfhP67K6Qvg2yAsQZgKNnRiQAfdcpDHfgP16Wkk,3846
31
31
  simtools/applications/generate_sim_telarray_histograms.py,sha256=mzCyzRMpRhfkOJU0FNBa70xwb8JgNZJ5PxFnBjPClG4,6682
32
- simtools/applications/generate_simtel_event_data.py,sha256=EceSrlPfYKSAT-DMQHimGbcwr58UonuN08ZBW9fl9p8,3426
33
- simtools/applications/merge_tables.py,sha256=3u8VlSTr2qzXEgL18Ho5liCbaSB09KtbFYKD3kNBsv8,2745
32
+ simtools/applications/generate_simtel_event_data.py,sha256=zmEEmL6xgF_BG3KkxIIqfANKpLxlFctlBmEMEdqfwsM,9089
33
+ simtools/applications/merge_tables.py,sha256=0g-MN5FyQ9shgsnkPeF5op7eYHaAYo8Dh8QBmweebdI,2747
34
34
  simtools/applications/plot_array_layout.py,sha256=ehcOk_zD8de7HEoLSguOOp8awigiJdobDYpX9qoffj8,9898
35
- simtools/applications/plot_tabular_data.py,sha256=U4OAiaWcvduP78uuCMfQDSOv1OSKB3jAOaXDMSoCCDo,2630
35
+ simtools/applications/plot_tabular_data.py,sha256=oZYfxrSsd07rbuNkYzZWsPorARpPXDeUBDOqXVJwZFE,2865
36
+ simtools/applications/plot_tabular_data_for_model_parameter.py,sha256=XxmzJl1VeUM__fzc__oWRTRPfH4UwYWLgc3rD7Anknw,3302
36
37
  simtools/applications/print_version.py,sha256=K4wyiWKg3urKgbYirNzxZ3TYogQOTpgnhpz-wdLxbyU,2318
37
- simtools/applications/production_derive_corsika_limits.py,sha256=s_2_xV8vZ1SQIodzNreJzEK-s8g-A7Pdkn-AE1X4RVw,3547
38
+ simtools/applications/production_derive_corsika_limits.py,sha256=6FEw9lBhPW0ML2V-7t8XGJj54-_1bVnfBqRlQkHxpNQ,5894
38
39
  simtools/applications/production_derive_statistics.py,sha256=S_PLIR10Xj6Fy1bwU-fAHLueFVJjlGg-jzl55ddKGZ4,5125
39
40
  simtools/applications/production_generate_grid.py,sha256=wH3vMNUPeN8lA7IRyXZdgpCAvkbMRLcpCJhtV5QcAuw,6769
40
41
  simtools/applications/run_application.py,sha256=WneCRqlVBThzFFkBo3zHe_fER0oF6nIyIfIRNuxlJ2Q,6669
@@ -53,7 +54,7 @@ simtools/applications/verify_simulation_model_production_tables.py,sha256=MJnwsn
53
54
  simtools/applications/db_development_tools/write_array_elements_positions_to_repository.py,sha256=-3zolE6ihmXnugbytEZC7PqMMo4_EjNTcYrgO6f9lCw,5512
54
55
  simtools/camera/camera_efficiency.py,sha256=60BePnniYtOB0_7LRpFB8rThLPYuObV-dE65AYEe2TA,18339
55
56
  simtools/camera/single_photon_electron_spectrum.py,sha256=0nTlbAE0xoLVBMDwejrMCCj93JN7p8ai9pEBvN6Q0zA,11583
56
- simtools/configuration/commandline_parser.py,sha256=KidFcfBim-3zdTAUAJ7OWNQFhkQK3uV7EOyNXpBwk5c,25778
57
+ simtools/configuration/commandline_parser.py,sha256=s-UX1N61s2nbkMH85KgGx3uxwUgCGnAvVfuEWCsiB_o,25804
57
58
  simtools/configuration/configurator.py,sha256=qTo4gPUjeX98sbwjJVSkFbH_5BZBPv68gxNJdf1NINA,15032
58
59
  simtools/corsika/corsika_config.py,sha256=FY4bEFhKIWbxHVn8oa5f8NE6l-trYN9XcPjtnUxxneE,28389
59
60
  simtools/corsika/corsika_histograms.py,sha256=Nhiq6XSGwJJ4Vk1Pu2STknE1x9HLTA4SiQXv4FGF_aA,67664
@@ -64,21 +65,21 @@ simtools/data_model/format_checkers.py,sha256=bXF9dItkpZCGXAHdCH7vhgxEsIhXLLVFLO
64
65
  simtools/data_model/metadata_collector.py,sha256=0rfILtqeVUK5IX7UVO51afxvr4QZI5rcbyeLFSEE8fo,23678
65
66
  simtools/data_model/metadata_model.py,sha256=tvSCfip0-ZKjMWDwPjSHz4jpLrNKPd5FAohTWnWf8xM,4386
66
67
  simtools/data_model/model_data_writer.py,sha256=hrEtjBDL5y5H67HEiqw6M4SWZvjyj0jCVFBQ86rdhps,15316
67
- simtools/data_model/schema.py,sha256=wM4GPqYfC-fS26yMZSu1JgrsuQ91gS7EpIcu6xbBMhw,6730
68
+ simtools/data_model/schema.py,sha256=d006vi3TtibX-U45Sw5KE0-cIx9-6NLHSEbOFUK_6hY,7158
68
69
  simtools/data_model/validate_data.py,sha256=RmzYmt0N1o73ys-9z--X-CSa1z8IwQpRp20JclR4zAw,30044
69
- simtools/db/db_handler.py,sha256=brTnGFrNDUEAc5rTqM67IobZT9BjUHgU-4zZkX7NPOE,33566
70
+ simtools/db/db_handler.py,sha256=BOyCTRarS4DLjJdkifV9SqYmPSjiShiMaF4PUxKPnJ0,33679
70
71
  simtools/db/db_model_upload.py,sha256=6WToU1iLSSi0bCT7OSb2YB2LY53zgHGq75aqwAwvuew,4838
71
72
  simtools/io_operations/hdf5_handler.py,sha256=CqP76MCfxvWH8AOnkIbQM5wBHIvSDEbdZ03wn7t6XgI,4232
72
73
  simtools/io_operations/io_handler.py,sha256=NNRnsWx9WMzA2MfAFlijpAYp7g-PyH0gMOmm-KH4I88,4428
73
- simtools/io_operations/io_table_handler.py,sha256=aMXUPXVBPxbh59qtbT8da3eRcdgscaEy4bF3KSCQKRQ,10714
74
+ simtools/io_operations/io_table_handler.py,sha256=YJqbam9sBjKAhHDyzFd0X0duWT1jnYPyk0La9Gp2jeo,10713
74
75
  simtools/io_operations/legacy_data_handler.py,sha256=gSz4FLoa1IpJl2DnP6NHpzSYVC4_rolX_SfbHt3u_zk,1341
75
76
  simtools/job_execution/htcondor_script_generator.py,sha256=0SnAaxPIM2Ecg9UknS3AkStrNzIC9T3r9DEKVUEZJIA,3808
76
77
  simtools/job_execution/job_manager.py,sha256=fuEJwzCp3U-1oRp0suq3VQY-afKVKMOqObpvxHETXlM,3424
77
78
  simtools/layout/array_layout.py,sha256=J6wag1ZwIjutchm_ak-2FTtXdwMUAYm6hRAnXQO6GnQ,25197
78
- simtools/layout/array_layout_utils.py,sha256=OFlE7TuGJhuh0Ev7Ix2fA9-7ragsvQIJkJTMPEbQ4oQ,11377
79
+ simtools/layout/array_layout_utils.py,sha256=Z5nV9RK4QaXNC4JzGSrjXTQBW_3wbg7n_BBLmqyjKag,11502
79
80
  simtools/layout/geo_coordinates.py,sha256=9kKnXFi9vrfYKG_9elzFuzzssGFEUzxMubaclITkW_g,5944
80
81
  simtools/layout/telescope_position.py,sha256=m34taJ7LML_KBW75i3EGMK2vEHK9tqFltxa9Ojrspi0,20162
81
- simtools/model/array_model.py,sha256=0Mk1i5g7nK4opjkQPBvS-LD-PyYGtgHD8EpCcIANtEo,15798
82
+ simtools/model/array_model.py,sha256=ZHN38Gwt1CDTmb3XN7fprTsrasR4Nk7z9KXGGtGhpVI,15925
82
83
  simtools/model/calibration_model.py,sha256=PqZnca86rNiKu3pExJc3fdiDwbHcB7Q9yl2pyA1orGU,1442
83
84
  simtools/model/camera.py,sha256=Gj9yWfAfM4GrrX5q6ZGSQy80WsOUqZaTnP7DoCYfOJ0,21403
84
85
  simtools/model/mirrors.py,sha256=uGCAT68WpnESv9IAgg8Xae9Z2-XgxMBL_Phnv6Ro0XQ,9151
@@ -89,7 +90,7 @@ simtools/model/site_model.py,sha256=eBkF-bMdS3AtARbDbDC8LqzNWqSDpROFhygWdH6uv4w,
89
90
  simtools/model/telescope_model.py,sha256=WFR4GolpOwUmRipJzoVWMovjOLeAhJcOCZTcv8yB3oE,13472
90
91
  simtools/production_configuration/calculate_statistical_uncertainties_grid_point.py,sha256=r3g2dNMCZdl6K3fvg0mcPV7C2AIc70N2bSdyYb5hY4I,15550
91
92
  simtools/production_configuration/derive_corsika_limits.py,sha256=AdDh8EnycpsS9w3RcVW8UN3tZs19hfPfYnE38Gl_fmE,16651
92
- simtools/production_configuration/derive_corsika_limits_grid.py,sha256=SNFnAaxens6x0pfB92TbkEEO2g7asWbsMt64lx9fplE,5501
93
+ simtools/production_configuration/derive_corsika_limits_grid.py,sha256=_UBkCFRQ74oBvg61Hx4NnhwBvFrvl10JqJBZGtHAVzI,6900
93
94
  simtools/production_configuration/derive_production_statistics.py,sha256=q7uW044MVcbGzwzVYpXcSvlRD8qcif8FyYP7mqtuNWs,5761
94
95
  simtools/production_configuration/derive_production_statistics_handler.py,sha256=-mZGIvXDlQk96N1V_zDu-w9Fv7VG9idjFpztZx0Nqh4,6180
95
96
  simtools/production_configuration/generate_production_grid.py,sha256=iLyBMcI6IDOe7gBZIEm1_T64eFtljX1YWfWK09cs67Y,13423
@@ -99,16 +100,17 @@ simtools/ray_tracing/psf_analysis.py,sha256=kw431lbLNd8nm7FoOkCZwSw1iXvNIit-WKX9
99
100
  simtools/ray_tracing/ray_tracing.py,sha256=jpne4oDWE4osDuaQnkUOUIXdq0rC2qRdaEaJTM3hPrM,21812
100
101
  simtools/reporting/docs_auto_report_generator.py,sha256=i4GGtpKKN0cVtGPEK4m3tpOrD8-PP5uot4kRHUujt8U,9236
101
102
  simtools/reporting/docs_read_parameters.py,sha256=oYa75ixZNtKMh8Xy4uJAvtudaLQmNgGyhKedJ4fLTZw,33773
103
+ simtools/resources/array-element-ids.json,sha256=W8cijMEmHJ28RLIyixVVdHr16-iUbIuURT9QIoIzCoY,4566
104
+ simtools/resources/array_elements.yml,sha256=7OZ5BwhX-YFJ1SnXXgW2nO0ZP6xnQK4B0Cmvd5d96dw,3552
102
105
  simtools/runners/corsika_runner.py,sha256=_w88APEG-H7Ns0E0modqvl_FsFAA3WVbS9TZFI6b4Ug,9199
103
106
  simtools/runners/corsika_simtel_runner.py,sha256=pPiytx5UEa3oQPPUh1l_fAv2b6FCfPDpD4hUPME7gv8,7377
104
107
  simtools/runners/runner_services.py,sha256=iFyOnABEnTpjoHhW0a2rkRCkhgH5nMwwbHb-Nk8EVuQ,10319
105
108
  simtools/runners/simtel_runner.py,sha256=0S_iqi_HewbCbqkEwNA4uBbzRXDIe5BZaZXP4h0ufBY,8362
106
109
  simtools/schemas/application_workflow.metaschema.yml,sha256=eoe08Gw0BN235bW92GwRxkTIbieMMAstLl-kHZqrf2U,4567
107
- simtools/schemas/array_elements.yml,sha256=7OZ5BwhX-YFJ1SnXXgW2nO0ZP6xnQK4B0Cmvd5d96dw,3552
108
110
  simtools/schemas/metadata.metaschema.yml,sha256=Wf7vmNXaD1btm5yHUQ8NhxUW5k0-Jl5QSnSfdeSsS44,16769
109
111
  simtools/schemas/model_parameter.metaschema.yml,sha256=mgzsF6G2xZti_wSTfGKGJGiOBBsgs7KL6DlYKa1QOt4,6553
110
- simtools/schemas/model_parameter_and_data_schema.metaschema.yml,sha256=lH1FuFvU3exy-61t-5AW1ou4FkoGsXJwMTck2YnS05o,10342
111
- simtools/schemas/plot_configuration.metaschema.yml,sha256=b89uLn_nI9oEiBCa9uOlb5jPQCE-yApiFdWfgJlL5HI,4516
112
+ simtools/schemas/model_parameter_and_data_schema.metaschema.yml,sha256=27dKDyViycmZZz1p4IMUWPdp4B9i-VkT2bLZ5FS8cO4,10500
113
+ simtools/schemas/plot_configuration.metaschema.yml,sha256=WYYqcZX7FBZdb2Biv8jwI_N-XiyMR0lfBSaOJR2i5vw,4277
112
114
  simtools/schemas/production_configuration_metrics.schema.yml,sha256=36azX8tg_cNArk5GmDL0-WdOLRicZRJEnlVzg2YUv20,1648
113
115
  simtools/schemas/production_tables.schema.yml,sha256=qcrY-89v1fDVpjBKpx4ZRv5BaVsayVtKOkPRArNIjVM,1301
114
116
  simtools/schemas/input/MST_mirror_2f_measurements.schema.yml,sha256=jETNirP8IYJVG5rVeqIuin7O-o7XjmFbvHSFI6SxZZg,1117
@@ -126,8 +128,8 @@ simtools/schemas/model_parameters/asum_clipping.schema.yml,sha256=zr4F6kdEuI1b4K
126
128
  simtools/schemas/model_parameters/asum_offset.schema.yml,sha256=LqR2wKrX3r0MOM8i173egYZo62zp0nkfKSPXkwcL5As,813
127
129
  simtools/schemas/model_parameters/asum_shaping.schema.yml,sha256=xOyz0cKXy0ffg5zAZ4rL2O57D1DeHOm9TS-htNpmLDo,916
128
130
  simtools/schemas/model_parameters/asum_threshold.schema.yml,sha256=oUpEcJxu2x8fZDSRGVlcPnUodXHwvzeCdsbN7DmhGFM,891
129
- simtools/schemas/model_parameters/atmospheric_profile.schema.yml,sha256=n5U2XbZq4F6duQcKgyuS2b-HpZM0RuTEUTNDHHcf3Ng,812
130
- simtools/schemas/model_parameters/atmospheric_transmission.schema.yml,sha256=mDNiTtNaWLwDvolqsF0Y9JwNEr8m0UqHj8I-F0VVNEA,889
131
+ simtools/schemas/model_parameters/atmospheric_profile.schema.yml,sha256=QY1GZ5eOhh20YG0VAvrD5TRr_Nj2brfSNcB9OpOxxFs,1975
132
+ simtools/schemas/model_parameters/atmospheric_transmission.schema.yml,sha256=cn8xe_Xtc6jgUWiFK-s9pBGySlLumIyJ4Tga25e9tyk,2136
131
133
  simtools/schemas/model_parameters/axes_offsets.schema.yml,sha256=d-W2YoBgVwCtVB47omc2_D8vf38JIV3nh0s4d7ltgS4,1724
132
134
  simtools/schemas/model_parameters/camera_body_diameter.schema.yml,sha256=VBiZF5uD51MMQkuy9cjjmELqqScxCSCpVSz90JpuE7A,991
133
135
  simtools/schemas/model_parameters/camera_body_shape.schema.yml,sha256=MtJxBvltJJ4vl_j03VtO_n4tj1ed6NPSB4_6Taqxla0,1167
@@ -136,8 +138,8 @@ simtools/schemas/model_parameters/camera_config_rotate.schema.yml,sha256=EMjPZhy
136
138
  simtools/schemas/model_parameters/camera_degraded_efficiency.schema.yml,sha256=RYgaxzkkFieHzFYL2hcHqMQfaZJFhWn6oIZmKOqkC0Y,1219
137
139
  simtools/schemas/model_parameters/camera_degraded_map.schema.yml,sha256=R2o8F-mUpFMy9o9nFTQw1v4BxEPdMqmoI5yhDTAZn5Q,1274
138
140
  simtools/schemas/model_parameters/camera_depth.schema.yml,sha256=uM-Bt0FFmob_p32KOBug5JaHKo5q8mwotrTgHs4wkD0,1087
139
- simtools/schemas/model_parameters/camera_filter.schema.yml,sha256=UTrolgoXJ4IBL0CrQraCWppXLlAXnip-kdyMfT6U9Dk,1448
140
- simtools/schemas/model_parameters/camera_filter_incidence_angle.schema.yml,sha256=-EL3eI1fEcqPw84t-UQJXqRFnOMlsirbyIUP3tYlG-o,749
141
+ simtools/schemas/model_parameters/camera_filter.schema.yml,sha256=kNfqV9F_aFWHSYs0LkGzMyR-dzohpoAyZmGpG07HezE,1706
142
+ simtools/schemas/model_parameters/camera_filter_incidence_angle.schema.yml,sha256=oF9c94691tAZWSKtCPST-SR_n7KN3d8lKYQKiYKHJ2c,1057
141
143
  simtools/schemas/model_parameters/camera_pixels.schema.yml,sha256=SrmcMt3XJvlMc1StQhAZzz6i9Jtl3cmgqLLVlzm7xLA,831
142
144
  simtools/schemas/model_parameters/camera_transmission.schema.yml,sha256=_hddX6DI2gvZzNvtLImm-LCzjaRRXvDtT7sY4vgy7X8,1073
143
145
  simtools/schemas/model_parameters/channels_per_chip.schema.yml,sha256=B8NfHE3xIstWOCh9LGXYQo0vw9GvZrp2eeEGa8htnKE,857
@@ -164,7 +166,7 @@ simtools/schemas/model_parameters/discriminator_gate_length.schema.yml,sha256=Gv
164
166
  simtools/schemas/model_parameters/discriminator_hysteresis.schema.yml,sha256=oKP_YvvvCi84W29-hCQMthragK9yY9wEnZnM4de3z6o,1060
165
167
  simtools/schemas/model_parameters/discriminator_output_amplitude.schema.yml,sha256=Ohq8JNX7z6YIfEJg4dWCk9WeOqNXMFuEybS_C2n_NMY,1062
166
168
  simtools/schemas/model_parameters/discriminator_output_var_percent.schema.yml,sha256=40EgYEKlJi9wx2ZF7D90N0L4bxd7bprrpw3npy558h4,1053
167
- simtools/schemas/model_parameters/discriminator_pulse_shape.schema.yml,sha256=ddo03wpfM1jyhQCEv0g-4dPx7vRrIt8exRf4U47Dbz0,848
169
+ simtools/schemas/model_parameters/discriminator_pulse_shape.schema.yml,sha256=lt4B3NPltZsVKe-rHsb4E6epfVio1woQDHrggOj43nE,1837
168
170
  simtools/schemas/model_parameters/discriminator_rise_time.schema.yml,sha256=O6JW35oPjjPPdTJk3oaCwjNwgNbdIeLiFVCm9nuryvI,1124
169
171
  simtools/schemas/model_parameters/discriminator_scale_threshold.schema.yml,sha256=OH-ANaMtNUpTmupbpirS2gzWjQ5bA0dBDQUKtRFRND4,899
170
172
  simtools/schemas/model_parameters/discriminator_sigsum_over_threshold.schema.yml,sha256=Ff3jQ6MyC7IZvDzDdwiVUAyN4zoPzvd3pZbTvA0o_fs,1202
@@ -214,7 +216,7 @@ simtools/schemas/model_parameters/fadc_max_sum.schema.yml,sha256=xxUW5-xMwLg_9te
214
216
  simtools/schemas/model_parameters/fadc_mhz.schema.yml,sha256=MgjMeDAXD00PODNF3xW9FNUnxK9iTFmKuCmQTjJKQHc,674
215
217
  simtools/schemas/model_parameters/fadc_noise.schema.yml,sha256=-yGy7bjdci0TwMr2hBGGFV_ApCB30IL4r5Yknpdx_Rs,1093
216
218
  simtools/schemas/model_parameters/fadc_pedestal.schema.yml,sha256=_0PxON6hlnvGhCfaPFt_RrYxFmTRYAFpSn2G8b8D8l4,999
217
- simtools/schemas/model_parameters/fadc_pulse_shape.schema.yml,sha256=MoG-Blq4FPtrLfiSXgGWKtB9rpIVztcYCq4rXSD9oHw,1100
219
+ simtools/schemas/model_parameters/fadc_pulse_shape.schema.yml,sha256=bhDtO8_iWP4Q4F35okCLCth4YjDTBotv2BICyYqCOyY,1398
218
220
  simtools/schemas/model_parameters/fadc_sensitivity.schema.yml,sha256=d4JE5TPbTJgHrg7mJ2U0Ns8VvquBkK0PYBvHRrbRExs,1432
219
221
  simtools/schemas/model_parameters/fadc_sum_bins.schema.yml,sha256=pxdACTE3C6OwAsbTuUyF2nieE77pjebpycE2lBfqxhw,1294
220
222
  simtools/schemas/model_parameters/fadc_sum_offset.schema.yml,sha256=CMkHB8or5W3mAqEjKfhC0QpbXhcsiiNNcYw54iYGb34,1187
@@ -248,7 +250,7 @@ simtools/schemas/model_parameters/led_photons.schema.yml,sha256=mgXo7BiLM3Cg6uWz
248
250
  simtools/schemas/model_parameters/led_pulse_offset.schema.yml,sha256=m72quC01G8dX3fgBZq7Cb2CtR4oVM6yBr4zMvnL8pY0,924
249
251
  simtools/schemas/model_parameters/led_pulse_sigtime.schema.yml,sha256=uZB-_sTnlINf1bgAndK4iwtmoFFyB-NnF4MhUlhEVl4,911
250
252
  simtools/schemas/model_parameters/led_var_photons.schema.yml,sha256=y8TeKisOfXdWbvrfis_23BQAxv3W_WJ5ZXZdC-WuvMw,909
251
- simtools/schemas/model_parameters/lightguide_efficiency_vs_incidence_angle.schema.yml,sha256=r0YfhGDjoBs8Y5nWHaqaJWary-G2rUMWxJJYckRTYwQ,1161
253
+ simtools/schemas/model_parameters/lightguide_efficiency_vs_incidence_angle.schema.yml,sha256=exACxbKDQ_POCjNr1he3aDw7pp29mC4FZqHTAWU4Ppk,1478
252
254
  simtools/schemas/model_parameters/lightguide_efficiency_vs_wavelength.schema.yml,sha256=7jzi-a9fml5iQI-uNKw98U2FvSvZp9Syph5xuyJjbYc,1301
253
255
  simtools/schemas/model_parameters/min_photoelectrons.schema.yml,sha256=_tyiL5XoLPB65yGXQDWio_9yq-xBkNK22Vjjrs5PNtY,932
254
256
  simtools/schemas/model_parameters/min_photons.schema.yml,sha256=-kOidZzqc8dQbR5LD5Hn7oPXexu2vI9pLgJMUI3ueGY,741
@@ -262,14 +264,14 @@ simtools/schemas/model_parameters/mirror_list.schema.yml,sha256=R9Vn4zwEkVQs6zcd
262
264
  simtools/schemas/model_parameters/mirror_offset.schema.yml,sha256=N9kGsL75ILepQgctxTfhkdSH7gBZAb8m-mHLPV5o-kI,1230
263
265
  simtools/schemas/model_parameters/mirror_panel_2f_measurements.schema.yml,sha256=74G8880WNTzjWvqYvvn9xHIkHdqiBS75EDaCaACz4fA,1109
264
266
  simtools/schemas/model_parameters/mirror_reflection_random_angle.schema.yml,sha256=5RUy2ssKWWnBHbNtTFMp0-P_a3LvWB12YDWnzMcD-Bs,1718
265
- simtools/schemas/model_parameters/mirror_reflectivity.schema.yml,sha256=Yw5HpyZL8ymsQu4XagcPNfUZF61lwQmTFYMGpOgxQ8k,1100
267
+ simtools/schemas/model_parameters/mirror_reflectivity.schema.yml,sha256=U748XORvxklS40qwByxPW7U01GdmCNL_KewhM6RRB2I,1376
266
268
  simtools/schemas/model_parameters/multiplicity_offset.schema.yml,sha256=0Nyw3fFS4lPnL23DWg2Is3lNl-Ygeua-GbnpYN-z-9E,1376
267
269
  simtools/schemas/model_parameters/muon_mono_threshold.schema.yml,sha256=bi7XwrqGBSvajJ2J5gDl06WArLHWOJ0gEUoHnnmFmZ4,1505
268
270
  simtools/schemas/model_parameters/nsb_autoscale_airmass.schema.yml,sha256=t1-0NBuKNUnwV9o3Vg1I6I9nwR0skPVU2MWZ0ykbb4c,1383
269
271
  simtools/schemas/model_parameters/nsb_gain_drop_scale.schema.yml,sha256=EAX8D9fQbvchs3GPqujlkzbMYgx5z9QRmUE7X3vb6w0,1103
270
272
  simtools/schemas/model_parameters/nsb_offaxis.schema.yml,sha256=wvtuxBCsTBusGgUU8tommPdELnU0LUlUpUTl9I4gVCU,2170
271
273
  simtools/schemas/model_parameters/nsb_pixel_rate.schema.yml,sha256=cA3OpPHdc3efI4jN_atM3O42pw91nmBKOC47ES2jQ_k,1389
272
- simtools/schemas/model_parameters/nsb_reference_spectrum.schema.yml,sha256=kWHn6CBzKfUagM6IMbuOCH7WFyzMsJu5hdAxvqYNgoM,1006
274
+ simtools/schemas/model_parameters/nsb_reference_spectrum.schema.yml,sha256=1m40B0GjtylHJJPqesrfB3IEj0GUUSAI8iI4Yck8zdI,1367
273
275
  simtools/schemas/model_parameters/nsb_reference_value.schema.yml,sha256=0js8QL7SK82ypvXLjXxN8BivGhizb-dc7_drR7CRZ6g,900
274
276
  simtools/schemas/model_parameters/nsb_scaling_factor.schema.yml,sha256=0vHrAY0ldx7PmnoFUMJ1OjpDsJlOedlvh9Yx20WVsCE,821
275
277
  simtools/schemas/model_parameters/nsb_sky_map.schema.yml,sha256=15WmwIg2JIK-K9mvs-6U3hzmbLHHJOS0MSiGQths4a8,1246
@@ -287,7 +289,7 @@ simtools/schemas/model_parameters/pixeltrg_time_step.schema.yml,sha256=ObphXC3i4
287
289
  simtools/schemas/model_parameters/pm_average_gain.schema.yml,sha256=HxPoH4gD1s_H2lVF3Ck6i4YFUw8T_Qx8tldkB-PZxlY,840
288
290
  simtools/schemas/model_parameters/pm_collection_efficiency.schema.yml,sha256=kt3NpgeOUIKXG-uZhDpHx0XM_DnxvBxYe0-TiqTTrpY,1116
289
291
  simtools/schemas/model_parameters/pm_gain_index.schema.yml,sha256=rxtZrfYeU68qtOEAfqw2ximJkN8idAxEbvqRAoIuYAA,857
290
- simtools/schemas/model_parameters/pm_photoelectron_spectrum.schema.yml,sha256=gBPQ24pjnas8sXxl9NmGzI4IzwY6uAII_QgnlUA-6xM,1125
292
+ simtools/schemas/model_parameters/pm_photoelectron_spectrum.schema.yml,sha256=FPucgC6rr1UOzCB2MlmFFnvvXq3IoQBtUhAdyncaGtw,1658
291
293
  simtools/schemas/model_parameters/pm_transit_time.schema.yml,sha256=K-l0lOP7n3EM-iJaRnLd_jUPe8XvLdGqN8qCm8Y9DDA,1926
292
294
  simtools/schemas/model_parameters/pm_voltage_variation.schema.yml,sha256=vxTR7d1HuqRPCYMnpktwmsLkqTuozVUDyN99AG0QvQM,1088
293
295
  simtools/schemas/model_parameters/primary_mirror_degraded_map.schema.yml,sha256=aWWtFrlF9ms8wuqUgpFVRAPwQ-QS1BQHF2wktaQn08k,1564
@@ -298,7 +300,7 @@ simtools/schemas/model_parameters/primary_mirror_parameters.schema.yml,sha256=zE
298
300
  simtools/schemas/model_parameters/primary_mirror_ref_radius.schema.yml,sha256=YILcSWyZSHa7sDpSKxRT0Ksqoujd-NWmrkgAXIpQIjQ,1074
299
301
  simtools/schemas/model_parameters/primary_mirror_segmentation.schema.yml,sha256=n7ENzKfSfcigbUwL2KC7E00xEoLPIGrYnezZCOen6rw,964
300
302
  simtools/schemas/model_parameters/qe_variation.schema.yml,sha256=tOCJ6aHSVcaa2_kSzdp55YI0nMLHLFEG0ZBEGqrSOqU,1169
301
- simtools/schemas/model_parameters/quantum_efficiency.schema.yml,sha256=MWv7bncjYB6fq_oTLiRHvG_e1ZC-KKjuQKJHPZgBxeM,1163
303
+ simtools/schemas/model_parameters/quantum_efficiency.schema.yml,sha256=kl3jqYg6e_ZRHtNbTkh16P2E8nISz45H90uMDGCLrKA,1460
302
304
  simtools/schemas/model_parameters/random_focal_length.schema.yml,sha256=ZOrm3RemnGPg1v00jJYadLng55J5z6RQegTUGaQ9mCc,1450
303
305
  simtools/schemas/model_parameters/random_generator.schema.yml,sha256=0_N_JQJLknXpB1sVZvo_8ZjCh0YQvFVFg2BF4VHfqjs,1093
304
306
  simtools/schemas/model_parameters/random_mono_probability.schema.yml,sha256=xSJHzhgQtplYi_ScX3Bity4T7UHuy8P5wPtA3Wj0W5A,1021
@@ -341,12 +343,12 @@ simtools/schemas/model_parameters/trigger_delay_compensation.schema.yml,sha256=z
341
343
  simtools/schemas/model_parameters/trigger_pixels.schema.yml,sha256=4FFa-RiZ1-S8IN5K0GY_Fo0bP1zUKQl0z12lJREqsqM,1098
342
344
  simtools/simtel/simtel_config_reader.py,sha256=OqfQtLbGrpElwmhyy_z2jtqq_882ZuADgDEjM2vmMPE,15028
343
345
  simtools/simtel/simtel_config_writer.py,sha256=wxc4u77KOuYSV7clwgIrAoVdNYYKVF1oiAVDtsAeMKo,24228
344
- simtools/simtel/simtel_io_event_reader.py,sha256=t7_ZWZHYEYOjbTU1fYQN5xVr5EU4afX-vI5og-s_Zzo,13742
345
- simtools/simtel/simtel_io_event_writer.py,sha256=wjOjogzdPCzlCE61GGu_iIHcYMDvJuHW4-5SqU_7XoI,10878
346
+ simtools/simtel/simtel_io_event_reader.py,sha256=DX_6Tu2DhGf5dMkDxJxM0fA88OpyXf0KhhjjmQHQzxs,13741
347
+ simtools/simtel/simtel_io_event_writer.py,sha256=wMvEYZu7a_ufPWHVXXJKMJ9QI312R_NkbHINkk8WTSE,12124
346
348
  simtools/simtel/simtel_io_file_info.py,sha256=T2xtdz-0pDZFf7cJw7brBxA9OHbDuBossTzY60RHFfw,1775
347
349
  simtools/simtel/simtel_io_histogram.py,sha256=E-2ORo5i8ukDTiG1xcte7MqKLWJ3rpTdAi9o07gdjzM,23625
348
350
  simtools/simtel/simtel_io_histograms.py,sha256=JivmhlyE7buBWJ-3pRKD57nfg7DLdaNzACVfYHZjfkc,20505
349
- simtools/simtel/simtel_io_metadata.py,sha256=Spk5MtKdUYkOwEICX23jNhwypZ0tXkk40Hlp4uXugUI,3252
351
+ simtools/simtel/simtel_io_metadata.py,sha256=pyuCNaTPpeNKssWsdk1yTdDfXmPU3qOTWmF4f6tr_HE,6075
350
352
  simtools/simtel/simtel_table_reader.py,sha256=ce8mS_8LDh18lEjFtLgT1uhWJuIeTD05JN03Qv5iNY0,12688
351
353
  simtools/simtel/simulator_array.py,sha256=Dcu4g83yKApeZcGZVe2I514NwBXGaDVmpgNqBGK3nFs,5535
352
354
  simtools/simtel/simulator_camera_efficiency.py,sha256=87fxw2z3avqp4rGgoEHCuvbzwTOyKi5-C9AwTcGyrvA,11381
@@ -357,18 +359,18 @@ simtools/testing/configuration.py,sha256=7_Yx13Uwmxb-yU7dTTDKjV5M_D1SvqBwd_8Rp6l
357
359
  simtools/testing/helpers.py,sha256=Z01EUIMkfRclJzF4WYXboxTGxDvxjYjQw32RaPWaNlw,1829
358
360
  simtools/testing/sim_telarray_metadata.py,sha256=9aVEdCZSB_56Cq-XUVMX8BLtzrwbRXf3SMqeeM9GvAk,7941
359
361
  simtools/testing/validate_output.py,sha256=zHuFu8oHxnYtO-Q2WNuVf4IGNWNs8bkHMs1EgrK-Td4,11481
360
- simtools/utils/general.py,sha256=eN_Yu9VBObIj5GRa0lzXYayd_Ay9VKFgQkd-WCkMrnc,26966
362
+ simtools/utils/general.py,sha256=QkGfTHmHc0xIhqKom3eT0RvAFfsFP-bgKFz8d4_QHck,26895
361
363
  simtools/utils/geometry.py,sha256=afMC4ryqLmieB7layMgh2f7PnZLXaqvXBMLprBmkHVI,6660
362
- simtools/utils/names.py,sha256=NKNv28cuaUDnZ87H4xf6cH0v-uZCwOtWulx-t7ahYJU,20076
364
+ simtools/utils/names.py,sha256=O-HHXWN9XdOsBeyq9AnUWDXUksGXjFy9fRKpN__EYVI,22143
363
365
  simtools/utils/value_conversion.py,sha256=Cl-BHOZWUhWr-W_hT4CR1iLfiphd8MSNkzYEjDe6iH8,6311
364
366
  simtools/visualization/legend_handlers.py,sha256=NKjoV4o9RTc-jajMAZz3QXkEVYzLvrpsno4HQw-rtcw,12048
365
367
  simtools/visualization/plot_array_layout.py,sha256=9FQP44O5dJ_KmTWvAWtXA0ZIGtC5TiSCJ_9yPzzhRAw,6768
366
368
  simtools/visualization/plot_camera.py,sha256=dLXKHYfY_elqaKhj91HlntASoVixTrpc_Kf0jPU8RmU,11167
367
- simtools/visualization/plot_pixels.py,sha256=3rvQFZ4D3zn6YuBMTb72J9h5kOm0eslRcu5xLns6HiI,20604
368
- simtools/visualization/plot_tables.py,sha256=BNg2HJ1YAL4ahrl29P1-qFFR2UpZnwAPM_5qtrita2c,3148
369
+ simtools/visualization/plot_pixels.py,sha256=Wnfb7URXVnmDqBN2xrOWmtmDn-ZEtpNVVP5UtUsnVAs,20581
370
+ simtools/visualization/plot_tables.py,sha256=A_M7u7OXc2y5Vj6VOj1cvg2Qvt0w7MmPzsEVKL9uiMg,5527
369
371
  simtools/visualization/visualize.py,sha256=LlmFI2N19LVD4MzQ9ZCFYPUYKmTKQdD8Q1bmEUQJFPQ,22015
370
- gammasimtools-0.17.0.dist-info/METADATA,sha256=QCuIbDC2vH4gKOCICeREzQmgXC7HzmkR-rk9mDGcONA,6850
371
- gammasimtools-0.17.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
372
- gammasimtools-0.17.0.dist-info/entry_points.txt,sha256=ptwPPiFI4TOSAw0nKa2x6LTV4Z86oPQ3frf1RtQ-w7Y,4158
373
- gammasimtools-0.17.0.dist-info/top_level.txt,sha256=9Yi7Q7aQX6alvpP2YGQtIYo208wdGkXUApHboEdj-ys,9
374
- gammasimtools-0.17.0.dist-info/RECORD,,
372
+ gammasimtools-0.18.0.dist-info/METADATA,sha256=jlPLz-d4itcXGni-1P9-iBsHChb9ei63fX8LKb-cQ-s,6895
373
+ gammasimtools-0.18.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
374
+ gammasimtools-0.18.0.dist-info/entry_points.txt,sha256=yUQlPm-l322sdUq0huB5iEI5hDMI4kP2b27KD1bYJEI,4272
375
+ gammasimtools-0.18.0.dist-info/top_level.txt,sha256=9Yi7Q7aQX6alvpP2YGQtIYo208wdGkXUApHboEdj-ys,9
376
+ gammasimtools-0.18.0.dist-info/RECORD,,
@@ -27,6 +27,7 @@ simtools-generate-simtel-event-data = simtools.applications.generate_simtel_even
27
27
  simtools-merge-tables = simtools.applications.merge_tables:main
28
28
  simtools-plot-array-layout = simtools.applications.plot_array_layout:main
29
29
  simtools-plot-tabular-data = simtools.applications.plot_tabular_data:main
30
+ simtools-plot-tabular-data-for-model-parameter = simtools.applications.plot_tabular_data_for_model_parameter:main
30
31
  simtools-print-version = simtools.applications.print_version:main
31
32
  simtools-production-derive-corsika-limits = simtools.applications.production_derive_corsika_limits:main
32
33
  simtools-production-derive-statistics = simtools.applications.production_derive_statistics:main
simtools/_version.py CHANGED
@@ -17,5 +17,5 @@ __version__: str
17
17
  __version_tuple__: VERSION_TUPLE
18
18
  version_tuple: VERSION_TUPLE
19
19
 
20
- __version__ = version = '0.17.0'
21
- __version_tuple__ = version_tuple = (0, 17, 0)
20
+ __version__ = version = '0.18.0'
21
+ __version_tuple__ = version_tuple = (0, 18, 0)
@@ -18,7 +18,16 @@ r"""
18
18
 
19
19
  Examples
20
20
  --------
21
- Upload model data repository to the DB:
21
+ Upload model data repository to the DB
22
+ Loops over all subdirectories in 'input_path' and uploads all json files to the
23
+ database 'new_db_name' (or updates an existing database with the same name):
24
+
25
+ * subdirectories starting with 'OBS' are uploaded to the 'sites' collection
26
+ * json files from the subdirectory 'configuration_sim_telarray/configuration_corsika'
27
+ are uploaded to the 'configuration_sim_telarray/configuration_corsika' collection
28
+ * 'Files' are added to the 'files' collection
29
+ * all other json files are uploaded to collection defined in the array element description
30
+ in 'simtools/schemas/array_elements.yml'
22
31
 
23
32
  .. code-block:: console
24
33
 
@@ -59,7 +59,7 @@ r"""
59
59
  .. image:: images/derive_mirror_rnda_North-MST-FlashCam-D_D80-distributions.png
60
60
  :width: 49 %
61
61
 
62
- This application uses the following :ref:`SimulationSoftware` tools:
62
+ This application uses the following software tools:
63
63
 
64
64
  - sim_telarray/bin/sim_telarray
65
65
  - sim_telarray/bin/rx (optional)
@@ -1,12 +1,89 @@
1
1
  #!/usr/bin/python3
2
2
 
3
3
  r"""
4
- Generate a reduced dataset of event data from simulated files.
4
+ Generate a reduced dataset of event data from output of telescope simulations.
5
5
 
6
- Processes sim_telarray output files (typically of type '.simtel.zst') and creates a
7
- reduced dataset containing shower information, array-level parameters, and data about
6
+ Processes sim_telarray output files (typically of type '.simtel.zst') and creates
7
+ reduced datasets containing shower information, array-level parameters, and data about
8
8
  triggered telescopes.
9
9
 
10
+ The output consists of an HDF5 or FITS file containing the following tables:
11
+
12
+ **FILE_INFO**
13
+
14
+ +-------------------+---------+-----------------------------------------------+
15
+ | Field | Type | Description |
16
+ +===================+=========+===============================================+
17
+ | file_name | string | Name of the file |
18
+ +-------------------+---------+-----------------------------------------------+
19
+ | file_id | int64 | Internal unique identifier for the file |
20
+ +-------------------+---------+-----------------------------------------------+
21
+ | particle_id | int64 | PDG particle ID (e.g., 14 for proton) |
22
+ +-------------------+---------+-----------------------------------------------+
23
+ | energy_min | float32 | Minimum simulated energy (TeV) |
24
+ +-------------------+---------+-----------------------------------------------+
25
+ | energy_max | float32 | Maximum simulated energy (TeV) |
26
+ +-------------------+---------+-----------------------------------------------+
27
+ | viewcone_min | float32 | Min viewcone angle (rad) |
28
+ +-------------------+---------+-----------------------------------------------+
29
+ | viewcone_max | float32 | Max viewcone angle (rad) |
30
+ +-------------------+---------+-----------------------------------------------+
31
+ | core_scatter_min | float32 | Min core scatter radius (m) |
32
+ +-------------------+---------+-----------------------------------------------+
33
+ | core_scatter_max | float32 | Max core scatter radius (m) |
34
+ +-------------------+---------+-----------------------------------------------+
35
+ | zenith | float32 | Zenith angle (rad) |
36
+ +-------------------+---------+-----------------------------------------------+
37
+ | azimuth | float32 | Azimuth angle (rad) |
38
+ +-------------------+---------+-----------------------------------------------+
39
+ | nsb_level | float64 | Night sky background level (photons/deg^2/ns) |
40
+ +-------------------+---------+-----------------------------------------------+
41
+
42
+ **SHOWERS**
43
+
44
+ +------------------+---------+-----------------------------------------------+
45
+ | Field | Type | Description |
46
+ +==================+=========+===============================================+
47
+ | shower_id | int64 | Shower identifier |
48
+ +------------------+---------+-----------------------------------------------+
49
+ | event_id | int64 | Event identifier (depends on reuse of showers)|
50
+ +------------------+---------+-----------------------------------------------+
51
+ | file_id | int64 | Internal unique identifier for the file |
52
+ +------------------+---------+-----------------------------------------------+
53
+ | simulated_energy | float64 | Simulated primary energy (TeV) |
54
+ +------------------+---------+-----------------------------------------------+
55
+ | x_core | float64 | Shower core X position on ground (m) |
56
+ +------------------+---------+-----------------------------------------------+
57
+ | y_core | float64 | Shower core Y position on ground (m) |
58
+ +------------------+---------+-----------------------------------------------+
59
+ | shower_azimuth | float64 | Direction of shower azimuth (rad) |
60
+ +------------------+---------+-----------------------------------------------+
61
+ | shower_altitude | float64 | Direction of shower altitude (rad) |
62
+ +------------------+---------+-----------------------------------------------+
63
+ | area_weight | float64 | Weighting factor for sampling area |
64
+ +------------------+---------+-----------------------------------------------+
65
+
66
+ **TRIGGERS**
67
+
68
+ +-----------------+---------+-----------------------------------------------+
69
+ | Field | Type | Description |
70
+ +=================+=========+===============================================+
71
+ | shower_id | int64 | Shower identifier |
72
+ +-----------------+---------+-----------------------------------------------+
73
+ | event_id | int64 | Event identifier (depends on reuse of showers)|
74
+ +-----------------+---------+-----------------------------------------------+
75
+ | file_id | int64 | Internal unique identifier for the file |
76
+ +-----------------+---------+-----------------------------------------------+
77
+ | array_altitude | float64 | Altitude of array pointing direction (rad) |
78
+ +-----------------+---------+-----------------------------------------------+
79
+ | array_azimuth | float64 | Azimuth of array pointing direction (rad) |
80
+ +-----------------+---------+-----------------------------------------------+
81
+ | telescope_list | string | Comma-separated list of triggered telescopes |
82
+ +-----------------+---------+-----------------------------------------------+
83
+
84
+ Several files generated with this application can be combined into a single
85
+ dataset using the 'simtools-merge-tables' command.
86
+
10
87
  Command line arguments
11
88
  ----------------------
12
89
  prefix (str, required)
@@ -30,6 +107,21 @@ Generate a reduced dataset from input files and save the result.
30
107
  --output_file output_file.hdf5 \\
31
108
  --max_files 50 \\
32
109
  --print_dataset_information 10
110
+
111
+
112
+ To read a reduced event data file, use the following command reading on of the test files:
113
+
114
+ .. code-block:: console
115
+
116
+ import h5py
117
+
118
+ test_file = "tests/resources/proton_za20deg_azm000deg_North_alpha_6.0.0_reduced_event_data.hdf5"
119
+
120
+ with h5py.File(test_file, "r") as f:
121
+ triggers = f["/TRIGGERS"]
122
+ for row in triggers:
123
+ print({name: row[name] for name in row.dtype.names})
124
+
33
125
  """
34
126
 
35
127
  import logging
@@ -1,11 +1,11 @@
1
1
  r"""
2
2
  Merge tables from multiple input files into single tables.
3
3
 
4
- Allows to merge tables from multiple input files into a single file.
5
- The input files can be in HDF5 or FITS format. The merged tables will be saved in the
4
+ Allows to merge tables (e.g., astropy tables) from multiple input files into a single file.
5
+ The input files can be of HDF5 or FITS format.
6
6
  specified output file.
7
7
 
8
- Note that merging large tables in FITS are not recommended, as it may lead to
8
+ Merging large tables in FITS are not recommended, as it may lead to
9
9
  performance issues.
10
10
 
11
11
  Command line arguments
@@ -14,7 +14,7 @@ input str
14
14
  Input file(s) (e.g., 'file1 file2').
15
15
  input_list str
16
16
  File with list of input files with tables.
17
- table_names str
17
+ table_names list of str
18
18
  Names of tables to merge from each input file.
19
19
  output_file str
20
20
  Output file name.
@@ -24,12 +24,12 @@ output_path str
24
24
  Example
25
25
  -------
26
26
 
27
- Merge tables from two files into a single file.
27
+ Merge tables from two files generated with 'simtools-generate-simtel-event-data' into a single file.
28
28
 
29
29
  .. code-block:: console
30
30
 
31
31
  simtools-merge-tables \\
32
- --input file1 file2' \\
32
+ --input_files file1 file2' \\
33
33
  --table_names 'SHOWERS TRIGGERS FILE_INFO' \\
34
34
  --output_file merged_tables.hdf5
35
35
 
@@ -57,15 +57,10 @@ def _parse(label, description):
57
57
 
58
58
  input_group = config.parser.add_mutually_exclusive_group(required=True)
59
59
  input_group.add_argument(
60
- "--input",
60
+ "--input_files",
61
61
  type=str,
62
62
  nargs="+",
63
- help="Input file(s) (e.g., 'file1 file2')",
64
- )
65
- input_group.add_argument(
66
- "--input_list",
67
- type=str,
68
- help="File with list of input files with tables.",
63
+ help="Input file(s) (e.g., 'file1 file2') or a file with a list of input files.",
69
64
  )
70
65
  config.parser.add_argument(
71
66
  "--table_names",
@@ -86,13 +81,16 @@ def main(): # noqa: D103
86
81
  )
87
82
  logger = logging.getLogger()
88
83
  logger.setLevel(gen.get_log_level_from_user(args_dict["log_level"]))
89
- logger.info(f"Loading input files from: {args_dict['input']}")
84
+ logger.info(f"Loading input files: {args_dict['input_files']}")
85
+
86
+ # accept fits.gz files (.gz)
87
+ input_files = gen.get_list_of_files_from_command_line(
88
+ args_dict["input_files"], [".hdf5", ".gz"]
89
+ )
90
90
 
91
91
  output_path = io_handler.IOHandler().get_output_directory(label)
92
92
  output_filepath = Path(output_path).joinpath(f"{args_dict['output_file']}")
93
93
 
94
- input_files = args_dict.get("input") or gen.collect_data_from_file(args_dict["input_list"])
95
-
96
94
  io_table_handler.merge_tables(
97
95
  input_files,
98
96
  input_table_names=args_dict["table_names"],
@@ -9,6 +9,17 @@ Command line arguments
9
9
  ----------------------
10
10
  config_file (str, required)
11
11
  Configuration file name for plotting.
12
+ output_file (str, required)
13
+ Output file name (without suffix).
14
+
15
+ Example
16
+ -------
17
+
18
+ Plot tabular data using a configuration file.
19
+
20
+ .. code-block:: console
21
+
22
+ simtools-plot-tabular-data --plot_config config_file_name --output_file output_file_name
12
23
 
13
24
  """
14
25
 
@@ -80,7 +91,7 @@ def main():
80
91
  )
81
92
 
82
93
  plot_tables.plot(
83
- config=plot_config["cta_simpipe"]["plot"],
94
+ config=plot_config["plot"],
84
95
  output_file=io_handler_instance.get_output_file(args_dict["output_file"]),
85
96
  db_config=db_config_,
86
97
  )
@@ -0,0 +1,103 @@
1
+ #!/usr/bin/python3
2
+ r"""
3
+ Plot tabular data for a single model parameter using default plotting configurations.
4
+
5
+ Uses plotting configurations as defined in the model parameters schema files.
6
+
7
+ Command line arguments
8
+ ----------------------
9
+ parameter (str, required)
10
+ Model parameter to plot (e.g., 'atmospheric_profile').
11
+ parameter_version (str, required)
12
+ Version of the model parameter to plot (e.g., '1.0.0').
13
+ site (str, required)
14
+ Site for which the model parameter is defined (e.g., 'North').
15
+ telescope (str, optional)
16
+ Telescope for which the model parameter is defined (e.g., 'LSTN-01').
17
+ output_file (str, required)
18
+ Output file name (without suffix).
19
+ plot_type (str, optional)
20
+ Type of plot as defined in the schema file.
21
+ Use '--plot_type all' to plot all types defined in the schema.
22
+
23
+ Example
24
+ -------
25
+
26
+ Plot tabular data for a specific type defined in the schema file:
27
+
28
+ .. code-block:: console
29
+
30
+ simtools-plot-tabular-data-for-model-parameter \\
31
+ --parameter atmospheric_profile \\
32
+ --parameter_version 1.0.0 \\
33
+ --site North \\
34
+ --plot_type refractive_index_vs_altitude
35
+
36
+ Plot tabular data for all types defined in the schema file:
37
+
38
+ .. code-block:: console
39
+
40
+ simtools-plot-tabular-data-for-model-parameter \\
41
+ --parameter fadc_pulse_shape
42
+ --parameter_version 1.0.0 \\
43
+ --site North \\
44
+ --telescope LSTN-01 \\
45
+ --plot_type all
46
+
47
+ """
48
+
49
+ import logging
50
+ from pathlib import Path
51
+
52
+ import simtools.utils.general as gen
53
+ from simtools.configuration import configurator
54
+ from simtools.data_model.metadata_collector import MetadataCollector
55
+ from simtools.io_operations import io_handler
56
+ from simtools.visualization import plot_tables
57
+
58
+
59
+ def _parse(label, description):
60
+ """Parse command line configuration."""
61
+ config = configurator.Configurator(label=label, description=description)
62
+
63
+ config.parser.add_argument("--parameter", type=str, required=True, help="Parameter name.")
64
+ config.parser.add_argument(
65
+ "--plot_type",
66
+ help="Plot type as defined in the schema file.",
67
+ type=str,
68
+ required=True,
69
+ default=None,
70
+ )
71
+ return config.initialize(db_config=True, simulation_model=["telescope", "parameter_version"])
72
+
73
+
74
+ def main():
75
+ """Plot tabular data."""
76
+ args_dict, db_config = _parse(
77
+ label=Path(__file__).stem,
78
+ description="Plots tabular data for a model parameter.",
79
+ )
80
+ logger = logging.getLogger()
81
+ logger.setLevel(gen.get_log_level_from_user(args_dict.get("log_level", "INFO")))
82
+ io_handler_instance = io_handler.IOHandler()
83
+
84
+ plot_configs, output_files = plot_tables.generate_plot_configurations(
85
+ parameter=args_dict["parameter"],
86
+ parameter_version=args_dict["parameter_version"],
87
+ site=args_dict["site"],
88
+ telescope=args_dict.get("telescope"),
89
+ output_path=io_handler_instance.get_output_directory(),
90
+ plot_type=args_dict["plot_type"],
91
+ )
92
+
93
+ for plot_config, output_file in zip(plot_configs, output_files):
94
+ plot_tables.plot(
95
+ config=plot_config,
96
+ output_file=output_file,
97
+ db_config=db_config,
98
+ )
99
+ MetadataCollector.dump(args_dict, output_file=output_file, add_activity_name=True)
100
+
101
+
102
+ if __name__ == "__main__":
103
+ main()