gammasimtools 0.6.1__py3-none-any.whl → 0.8.2__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.
- gammasimtools-0.8.2.dist-info/METADATA +173 -0
- gammasimtools-0.8.2.dist-info/RECORD +345 -0
- {gammasimtools-0.6.1.dist-info → gammasimtools-0.8.2.dist-info}/WHEEL +1 -1
- gammasimtools-0.8.2.dist-info/entry_points.txt +31 -0
- simtools/_dev_version/__init__.py +9 -0
- simtools/_version.py +2 -2
- simtools/applications/calculate_trigger_rate.py +210 -0
- simtools/applications/convert_all_model_parameters_from_simtel.py +372 -0
- simtools/applications/{print_array_elements.py → convert_geo_coordinates_of_array_elements.py} +58 -63
- simtools/applications/convert_model_parameter_from_simtel.py +119 -0
- simtools/applications/{add_file_to_db.py → db_add_file_to_db.py} +70 -60
- simtools/applications/db_add_model_parameters_from_repository_to_db.py +184 -0
- simtools/applications/db_add_value_from_json_to_db.py +105 -0
- simtools/applications/db_development_tools/write_array_elements_positions_to_repository.py +180 -0
- simtools/applications/db_get_array_layouts_from_db.py +162 -0
- simtools/applications/{get_file_from_db.py → db_get_file_from_db.py} +30 -34
- simtools/applications/db_get_parameter_from_db.py +131 -0
- simtools/applications/db_inspect_databases.py +52 -0
- simtools/applications/derive_mirror_rnda.py +39 -255
- simtools/applications/derive_psf_parameters.py +441 -0
- simtools/applications/generate_array_config.py +82 -0
- simtools/applications/generate_corsika_histograms.py +52 -52
- simtools/applications/generate_default_metadata.py +5 -8
- simtools/applications/generate_regular_arrays.py +117 -0
- simtools/applications/generate_simtel_array_histograms.py +97 -56
- simtools/applications/plot_array_layout.py +345 -115
- simtools/applications/production_generate_simulation_config.py +158 -0
- simtools/applications/production_scale_events.py +168 -0
- simtools/applications/simulate_light_emission.py +478 -0
- simtools/applications/simulate_prod.py +97 -175
- simtools/applications/submit_data_from_external.py +9 -12
- simtools/applications/submit_model_parameter_from_external.py +122 -0
- simtools/applications/validate_camera_efficiency.py +35 -102
- simtools/applications/validate_camera_fov.py +20 -19
- simtools/applications/{compare_cumulative_psf.py → validate_cumulative_psf.py} +45 -44
- simtools/applications/validate_file_using_schema.py +111 -47
- simtools/applications/validate_optics.py +17 -22
- simtools/camera_efficiency.py +193 -202
- simtools/configuration/commandline_parser.py +384 -96
- simtools/configuration/configurator.py +55 -71
- simtools/constants.py +5 -5
- simtools/corsika/corsika_config.py +482 -342
- simtools/corsika/corsika_histograms.py +226 -204
- simtools/corsika/corsika_histograms_visualize.py +23 -24
- simtools/corsika/primary_particle.py +159 -0
- simtools/data_model/data_reader.py +25 -20
- simtools/data_model/format_checkers.py +52 -0
- simtools/data_model/metadata_collector.py +211 -185
- simtools/data_model/metadata_model.py +115 -37
- simtools/data_model/model_data_writer.py +335 -26
- simtools/data_model/validate_data.py +366 -154
- simtools/db/db_array_elements.py +130 -0
- simtools/db/db_from_repo_handler.py +106 -0
- simtools/db/db_handler.py +1246 -0
- simtools/io_operations/hdf5_handler.py +3 -1
- simtools/io_operations/io_handler.py +32 -57
- simtools/job_execution/job_manager.py +82 -69
- simtools/layout/array_layout.py +325 -537
- simtools/layout/geo_coordinates.py +8 -11
- simtools/layout/telescope_position.py +163 -86
- simtools/model/array_model.py +312 -259
- simtools/model/calibration_model.py +50 -0
- simtools/model/camera.py +277 -523
- simtools/model/mirrors.py +68 -49
- simtools/model/model_parameter.py +602 -0
- simtools/model/model_utils.py +11 -39
- simtools/model/site_model.py +161 -0
- simtools/model/telescope_model.py +143 -633
- simtools/production_configuration/calculate_statistical_errors_grid_point.py +454 -0
- simtools/production_configuration/event_scaler.py +146 -0
- simtools/production_configuration/generate_simulation_config.py +193 -0
- simtools/production_configuration/interpolation_handler.py +197 -0
- simtools/ray_tracing/__init__.py +0 -0
- simtools/ray_tracing/mirror_panel_psf.py +280 -0
- simtools/{psf_analysis.py → ray_tracing/psf_analysis.py} +133 -47
- simtools/ray_tracing/ray_tracing.py +646 -0
- simtools/runners/__init__.py +0 -0
- simtools/runners/corsika_runner.py +240 -0
- simtools/runners/corsika_simtel_runner.py +225 -0
- simtools/runners/runner_services.py +307 -0
- simtools/runners/simtel_runner.py +224 -0
- simtools/schemas/array_elements.yml +137 -0
- simtools/schemas/integration_tests_config.metaschema.yml +93 -0
- simtools/schemas/metadata.metaschema.yml +6 -0
- simtools/schemas/model_parameter.metaschema.yml +78 -0
- simtools/schemas/{data.metaschema.yml → model_parameter_and_data_schema.metaschema.yml} +27 -44
- simtools/schemas/model_parameters/adjust_gain.schema.yml +37 -0
- simtools/schemas/model_parameters/altitude.schema.yml +37 -0
- simtools/schemas/model_parameters/array_coordinates.schema.yml +33 -0
- simtools/schemas/model_parameters/array_coordinates_UTM.schema.yml +77 -0
- simtools/schemas/model_parameters/array_element_position_ground.schema.yml +39 -0
- simtools/schemas/model_parameters/array_element_position_utm.schema.yml +39 -0
- simtools/schemas/model_parameters/array_layouts.schema.yml +48 -0
- simtools/schemas/model_parameters/array_triggers.schema.yml +93 -0
- simtools/schemas/model_parameters/asum_clipping.schema.yml +38 -0
- simtools/schemas/model_parameters/asum_offset.schema.yml +35 -0
- simtools/schemas/model_parameters/asum_shaping.schema.yml +35 -0
- simtools/schemas/model_parameters/asum_threshold.schema.yml +38 -0
- simtools/schemas/model_parameters/atmospheric_profile.schema.yml +32 -0
- simtools/schemas/model_parameters/atmospheric_transmission.schema.yml +35 -0
- simtools/schemas/model_parameters/axes_offsets.schema.yml +53 -0
- simtools/schemas/model_parameters/camera_body_diameter.schema.yml +40 -0
- simtools/schemas/model_parameters/camera_body_shape.schema.yml +45 -0
- simtools/schemas/model_parameters/camera_config_file.schema.yml +40 -0
- simtools/schemas/model_parameters/camera_config_rotate.schema.yml +36 -0
- simtools/schemas/model_parameters/camera_degraded_efficiency.schema.yml +43 -0
- simtools/schemas/model_parameters/camera_degraded_map.schema.yml +42 -0
- simtools/schemas/model_parameters/camera_depth.schema.yml +42 -0
- simtools/schemas/model_parameters/camera_filter.schema.yml +45 -0
- simtools/schemas/model_parameters/camera_filter_incidence_angle.schema.yml +29 -0
- simtools/schemas/model_parameters/camera_pixels.schema.yml +36 -0
- simtools/schemas/model_parameters/camera_transmission.schema.yml +41 -0
- simtools/schemas/model_parameters/channels_per_chip.schema.yml +36 -0
- simtools/schemas/model_parameters/correct_nsb_spectrum_to_telescope_altitude.schema.yml +35 -0
- simtools/schemas/model_parameters/corsika_cherenkov_photon_bunch_size.schema.yml +27 -0
- simtools/schemas/model_parameters/corsika_cherenkov_photon_wavelength_range.schema.yml +38 -0
- simtools/schemas/model_parameters/corsika_first_interaction_height.schema.yml +28 -0
- simtools/schemas/model_parameters/corsika_iact_io_buffer.schema.yml +23 -0
- simtools/schemas/model_parameters/corsika_iact_max_bunches.schema.yml +27 -0
- simtools/schemas/model_parameters/corsika_iact_split_auto.schema.yml +28 -0
- simtools/schemas/model_parameters/corsika_longitudinal_shower_development.schema.yml +27 -0
- simtools/schemas/model_parameters/corsika_observation_level.schema.yml +38 -0
- simtools/schemas/model_parameters/corsika_particle_kinetic_energy_cutoff.schema.yml +52 -0
- simtools/schemas/model_parameters/corsika_starting_grammage.schema.yml +27 -0
- simtools/schemas/model_parameters/dark_events.schema.yml +32 -0
- simtools/schemas/model_parameters/default_trigger.schema.yml +35 -0
- simtools/schemas/model_parameters/design_model.schema.yml +31 -0
- simtools/schemas/model_parameters/disc_ac_coupled.schema.yml +32 -0
- simtools/schemas/model_parameters/disc_bins.schema.yml +39 -0
- simtools/schemas/model_parameters/disc_start.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_amplitude.schema.yml +42 -0
- simtools/schemas/model_parameters/discriminator_fall_time.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_gate_length.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_hysteresis.schema.yml +39 -0
- simtools/schemas/model_parameters/discriminator_output_amplitude.schema.yml +40 -0
- simtools/schemas/model_parameters/discriminator_output_var_percent.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_pulse_shape.schema.yml +33 -0
- simtools/schemas/model_parameters/discriminator_rise_time.schema.yml +42 -0
- simtools/schemas/model_parameters/discriminator_scale_threshold.schema.yml +37 -0
- simtools/schemas/model_parameters/discriminator_sigsum_over_threshold.schema.yml +44 -0
- simtools/schemas/model_parameters/discriminator_threshold.schema.yml +36 -0
- simtools/schemas/model_parameters/discriminator_time_over_threshold.schema.yml +45 -0
- simtools/schemas/model_parameters/discriminator_var_gate_length.schema.yml +40 -0
- simtools/schemas/model_parameters/discriminator_var_sigsum_over_threshold.schema.yml +41 -0
- simtools/schemas/model_parameters/discriminator_var_threshold.schema.yml +38 -0
- simtools/schemas/model_parameters/discriminator_var_time_over_threshold.schema.yml +38 -0
- simtools/schemas/model_parameters/dish_shape_length.schema.yml +41 -0
- simtools/schemas/model_parameters/dsum_clipping.schema.yml +38 -0
- simtools/schemas/model_parameters/dsum_ignore_below.schema.yml +38 -0
- simtools/schemas/model_parameters/dsum_offset.schema.yml +37 -0
- simtools/schemas/model_parameters/dsum_pedsub.schema.yml +33 -0
- simtools/schemas/model_parameters/dsum_pre_clipping.schema.yml +39 -0
- simtools/schemas/model_parameters/dsum_prescale.schema.yml +44 -0
- simtools/schemas/model_parameters/dsum_presum_max.schema.yml +38 -0
- simtools/schemas/model_parameters/dsum_presum_shift.schema.yml +45 -0
- simtools/schemas/model_parameters/dsum_shaping.schema.yml +44 -0
- simtools/schemas/model_parameters/dsum_shaping_renormalize.schema.yml +32 -0
- simtools/schemas/model_parameters/dsum_threshold.schema.yml +43 -0
- simtools/schemas/model_parameters/dsum_zero_clip.schema.yml +42 -0
- simtools/schemas/model_parameters/effective_focal_length.schema.yml +61 -0
- simtools/schemas/model_parameters/epsg_code.schema.yml +37 -0
- simtools/schemas/model_parameters/fadc_ac_coupled.schema.yml +35 -0
- simtools/schemas/model_parameters/fadc_amplitude.schema.yml +46 -0
- simtools/schemas/model_parameters/fadc_bins.schema.yml +40 -0
- simtools/schemas/model_parameters/fadc_compensate_pedestal.schema.yml +50 -0
- simtools/schemas/model_parameters/fadc_dev_pedestal.schema.yml +38 -0
- simtools/schemas/model_parameters/fadc_err_compensate_pedestal.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_err_pedestal.schema.yml +49 -0
- simtools/schemas/model_parameters/fadc_lg_amplitude.schema.yml +47 -0
- simtools/schemas/model_parameters/fadc_lg_compensate_pedestal.schema.yml +51 -0
- simtools/schemas/model_parameters/fadc_lg_dev_pedestal.schema.yml +37 -0
- simtools/schemas/model_parameters/fadc_lg_err_compensate_pedestal.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_lg_err_pedestal.schema.yml +49 -0
- simtools/schemas/model_parameters/fadc_lg_max_signal.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_lg_max_sum.schema.yml +39 -0
- simtools/schemas/model_parameters/fadc_lg_noise.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_lg_pedestal.schema.yml +40 -0
- simtools/schemas/model_parameters/fadc_lg_sensitivity.schema.yml +50 -0
- simtools/schemas/model_parameters/fadc_lg_sysvar_pedestal.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_lg_var_pedestal.schema.yml +41 -0
- simtools/schemas/model_parameters/fadc_lg_var_sensitivity.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_max_signal.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_max_sum.schema.yml +39 -0
- simtools/schemas/model_parameters/fadc_mhz.schema.yml +31 -0
- simtools/schemas/model_parameters/fadc_noise.schema.yml +41 -0
- simtools/schemas/model_parameters/fadc_pedestal.schema.yml +40 -0
- simtools/schemas/model_parameters/fadc_pulse_shape.schema.yml +39 -0
- simtools/schemas/model_parameters/fadc_sensitivity.schema.yml +50 -0
- simtools/schemas/model_parameters/fadc_sum_bins.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_sum_offset.schema.yml +43 -0
- simtools/schemas/model_parameters/fadc_sysvar_pedestal.schema.yml +42 -0
- simtools/schemas/model_parameters/fadc_var_pedestal.schema.yml +41 -0
- simtools/schemas/model_parameters/fadc_var_sensitivity.schema.yml +42 -0
- simtools/schemas/model_parameters/flatfielding.schema.yml +37 -0
- simtools/schemas/model_parameters/focal_length.schema.yml +45 -0
- simtools/schemas/model_parameters/focal_surface_parameters.schema.yml +158 -0
- simtools/schemas/model_parameters/focal_surface_ref_radius.schema.yml +29 -0
- simtools/schemas/model_parameters/focus_offset.schema.yml +66 -0
- simtools/schemas/model_parameters/gain_variation.schema.yml +43 -0
- simtools/schemas/model_parameters/geomag_horizontal.schema.yml +34 -0
- simtools/schemas/model_parameters/geomag_rotation.schema.yml +37 -0
- simtools/schemas/model_parameters/geomag_vertical.schema.yml +34 -0
- simtools/schemas/model_parameters/hg_lg_variation.schema.yml +36 -0
- simtools/schemas/model_parameters/iobuf_maximum.schema.yml +34 -0
- simtools/schemas/model_parameters/iobuf_output_maximum.schema.yml +34 -0
- simtools/schemas/model_parameters/laser_events.schema.yml +36 -0
- simtools/schemas/model_parameters/laser_external_trigger.schema.yml +35 -0
- simtools/schemas/model_parameters/laser_photons.schema.yml +32 -0
- simtools/schemas/model_parameters/laser_pulse_exptime.schema.yml +34 -0
- simtools/schemas/model_parameters/laser_pulse_offset.schema.yml +34 -0
- simtools/schemas/model_parameters/laser_pulse_sigtime.schema.yml +33 -0
- simtools/schemas/model_parameters/laser_pulse_twidth.schema.yml +33 -0
- simtools/schemas/model_parameters/laser_var_photons.schema.yml +33 -0
- simtools/schemas/model_parameters/laser_wavelength.schema.yml +33 -0
- simtools/schemas/model_parameters/led_events.schema.yml +34 -0
- simtools/schemas/model_parameters/led_photons.schema.yml +34 -0
- simtools/schemas/model_parameters/led_pulse_offset.schema.yml +32 -0
- simtools/schemas/model_parameters/led_pulse_sigtime.schema.yml +33 -0
- simtools/schemas/model_parameters/led_var_photons.schema.yml +34 -0
- simtools/schemas/model_parameters/lightguide_efficiency_vs_incidence_angle.schema.yml +41 -0
- simtools/schemas/model_parameters/lightguide_efficiency_vs_wavelength.schema.yml +43 -0
- simtools/schemas/model_parameters/min_photoelectrons.schema.yml +35 -0
- simtools/schemas/model_parameters/min_photons.schema.yml +32 -0
- simtools/schemas/model_parameters/mirror_align_random_distance.schema.yml +36 -0
- simtools/schemas/model_parameters/mirror_align_random_horizontal.schema.yml +64 -0
- simtools/schemas/model_parameters/mirror_align_random_vertical.schema.yml +64 -0
- simtools/schemas/model_parameters/mirror_class.schema.yml +41 -0
- simtools/schemas/model_parameters/mirror_degraded_reflection.schema.yml +51 -0
- simtools/schemas/model_parameters/mirror_focal_length.schema.yml +42 -0
- simtools/schemas/model_parameters/mirror_list.schema.yml +38 -0
- simtools/schemas/model_parameters/mirror_offset.schema.yml +41 -0
- simtools/schemas/model_parameters/mirror_panel_2f_measurements.schema.yml +39 -0
- simtools/schemas/model_parameters/mirror_reflection_random_angle.schema.yml +61 -0
- simtools/schemas/model_parameters/mirror_reflectivity.schema.yml +40 -0
- simtools/schemas/model_parameters/multiplicity_offset.schema.yml +46 -0
- simtools/schemas/model_parameters/nsb_autoscale_airmass.schema.yml +51 -0
- simtools/schemas/model_parameters/nsb_gain_drop_scale.schema.yml +37 -0
- simtools/schemas/model_parameters/nsb_offaxis.schema.yml +79 -0
- simtools/schemas/model_parameters/nsb_pixel_rate.schema.yml +47 -0
- simtools/schemas/model_parameters/nsb_reference_spectrum.schema.yml +34 -0
- simtools/schemas/model_parameters/nsb_reference_value.schema.yml +33 -0
- simtools/schemas/model_parameters/nsb_scaling_factor.schema.yml +35 -0
- simtools/schemas/model_parameters/nsb_skymap.schema.yml +39 -0
- simtools/schemas/model_parameters/nsb_spectrum.schema.yml +50 -0
- simtools/schemas/model_parameters/num_gains.schema.yml +34 -0
- simtools/schemas/model_parameters/only_triggered_telescopes.schema.yml +33 -0
- simtools/schemas/model_parameters/optics_properties.schema.yml +31 -0
- simtools/schemas/model_parameters/parabolic_dish.schema.yml +32 -0
- simtools/schemas/model_parameters/pedestal_events.schema.yml +32 -0
- simtools/schemas/model_parameters/photon_delay.schema.yml +38 -0
- simtools/schemas/model_parameters/photons_per_run.schema.yml +33 -0
- simtools/schemas/model_parameters/pixel_cells.schema.yml +35 -0
- simtools/schemas/model_parameters/pixels_parallel.schema.yml +54 -0
- simtools/schemas/model_parameters/pixeltrg_time_step.schema.yml +40 -0
- simtools/schemas/model_parameters/pm_average_gain.schema.yml +34 -0
- simtools/schemas/model_parameters/pm_collection_efficiency.schema.yml +40 -0
- simtools/schemas/model_parameters/pm_gain_index.schema.yml +36 -0
- simtools/schemas/model_parameters/pm_photoelectron_spectrum.schema.yml +41 -0
- simtools/schemas/model_parameters/pm_transit_time.schema.yml +63 -0
- simtools/schemas/model_parameters/pm_voltage_variation.schema.yml +39 -0
- simtools/schemas/model_parameters/primary_mirror_degraded_map.schema.yml +42 -0
- simtools/schemas/model_parameters/primary_mirror_diameter.schema.yml +33 -0
- simtools/schemas/model_parameters/primary_mirror_hole_diameter.schema.yml +33 -0
- simtools/schemas/model_parameters/primary_mirror_incidence_angle.schema.yml +29 -0
- simtools/schemas/model_parameters/primary_mirror_parameters.schema.yml +168 -0
- simtools/schemas/model_parameters/primary_mirror_ref_radius.schema.yml +36 -0
- simtools/schemas/model_parameters/primary_mirror_segmentation.schema.yml +34 -0
- simtools/schemas/model_parameters/qe_variation.schema.yml +43 -0
- simtools/schemas/model_parameters/quantum_efficiency.schema.yml +42 -0
- simtools/schemas/model_parameters/random_focal_length.schema.yml +45 -0
- simtools/schemas/model_parameters/random_generator.schema.yml +36 -0
- simtools/schemas/model_parameters/reference_point_altitude.schema.yml +35 -0
- simtools/schemas/model_parameters/reference_point_latitude.schema.yml +36 -0
- simtools/schemas/model_parameters/reference_point_longitude.schema.yml +36 -0
- simtools/schemas/model_parameters/reference_point_utm_east.schema.yml +34 -0
- simtools/schemas/model_parameters/reference_point_utm_north.schema.yml +34 -0
- simtools/schemas/model_parameters/sampled_output.schema.yml +31 -0
- simtools/schemas/model_parameters/save_pe_with_amplitude.schema.yml +34 -0
- simtools/schemas/model_parameters/secondary_mirror_baffle.schema.yml +79 -0
- simtools/schemas/model_parameters/secondary_mirror_degraded_map.schema.yml +42 -0
- simtools/schemas/model_parameters/secondary_mirror_degraded_reflection.schema.yml +41 -0
- simtools/schemas/model_parameters/secondary_mirror_diameter.schema.yml +33 -0
- simtools/schemas/model_parameters/secondary_mirror_hole_diameter.schema.yml +36 -0
- simtools/schemas/model_parameters/secondary_mirror_incidence_angle.schema.yml +29 -0
- simtools/schemas/model_parameters/secondary_mirror_parameters.schema.yml +168 -0
- simtools/schemas/model_parameters/secondary_mirror_ref_radius.schema.yml +36 -0
- simtools/schemas/model_parameters/secondary_mirror_reflectivity.schema.yml +35 -0
- simtools/schemas/model_parameters/secondary_mirror_segmentation.schema.yml +37 -0
- simtools/schemas/model_parameters/secondary_mirror_shadow_diameter.schema.yml +40 -0
- simtools/schemas/model_parameters/secondary_mirror_shadow_offset.schema.yml +40 -0
- simtools/schemas/model_parameters/store_photoelectrons.schema.yml +41 -0
- simtools/schemas/model_parameters/tailcut_scale.schema.yml +40 -0
- simtools/schemas/model_parameters/telescope_axis_height.schema.yml +31 -0
- simtools/schemas/model_parameters/telescope_random_angle.schema.yml +35 -0
- simtools/schemas/model_parameters/telescope_random_error.schema.yml +34 -0
- simtools/schemas/model_parameters/telescope_sphere_radius.schema.yml +37 -0
- simtools/schemas/model_parameters/telescope_transmission.schema.yml +113 -0
- simtools/schemas/model_parameters/teltrig_min_sigsum.schema.yml +41 -0
- simtools/schemas/model_parameters/teltrig_min_time.schema.yml +36 -0
- simtools/schemas/model_parameters/transit_time_calib_error.schema.yml +36 -0
- simtools/schemas/model_parameters/transit_time_compensate_error.schema.yml +37 -0
- simtools/schemas/model_parameters/transit_time_compensate_step.schema.yml +38 -0
- simtools/schemas/model_parameters/transit_time_error.schema.yml +45 -0
- simtools/schemas/model_parameters/transit_time_jitter.schema.yml +36 -0
- simtools/schemas/model_parameters/trigger_current_limit.schema.yml +32 -0
- simtools/schemas/model_parameters/trigger_delay_compensation.schema.yml +53 -0
- simtools/schemas/model_parameters/trigger_pixels.schema.yml +40 -0
- simtools/simtel/simtel_config_reader.py +353 -0
- simtools/simtel/simtel_config_writer.py +244 -63
- simtools/simtel/{simtel_events.py → simtel_io_events.py} +26 -25
- simtools/simtel/simtel_io_histogram.py +661 -0
- simtools/simtel/simtel_io_histograms.py +569 -0
- simtools/simtel/simulator_array.py +145 -0
- simtools/simtel/{simtel_runner_camera_efficiency.py → simulator_camera_efficiency.py} +76 -52
- simtools/simtel/simulator_light_emission.py +473 -0
- simtools/simtel/simulator_ray_tracing.py +262 -0
- simtools/simulator.py +220 -446
- simtools/testing/__init__.py +0 -0
- simtools/testing/assertions.py +151 -0
- simtools/testing/configuration.py +226 -0
- simtools/testing/helpers.py +42 -0
- simtools/testing/validate_output.py +240 -0
- simtools/utils/general.py +340 -437
- simtools/utils/geometry.py +12 -12
- simtools/utils/names.py +257 -644
- simtools/utils/value_conversion.py +176 -0
- simtools/version.py +3 -1
- simtools/visualization/legend_handlers.py +135 -152
- simtools/visualization/plot_camera.py +379 -0
- simtools/visualization/visualize.py +346 -167
- gammasimtools-0.6.1.dist-info/METADATA +0 -180
- gammasimtools-0.6.1.dist-info/RECORD +0 -91
- gammasimtools-0.6.1.dist-info/entry_points.txt +0 -23
- simtools/_dev_version/scm_version.py +0 -10
- simtools/applications/db_development_tools/add_new_parameter_to_db.py +0 -81
- simtools/applications/db_development_tools/add_unit_to_parameter_in_db.py +0 -59
- simtools/applications/db_development_tools/mark_non_optics_parameters_non_applicable.py +0 -102
- simtools/applications/get_parameter.py +0 -92
- simtools/applications/make_regular_arrays.py +0 -160
- simtools/applications/produce_array_config.py +0 -136
- simtools/applications/production.py +0 -313
- simtools/applications/sim_showers_for_trigger_rates.py +0 -187
- simtools/applications/tune_psf.py +0 -334
- simtools/corsika/corsika_default_config.py +0 -282
- simtools/corsika/corsika_runner.py +0 -450
- simtools/corsika_simtel/corsika_simtel_runner.py +0 -197
- simtools/db_handler.py +0 -1480
- simtools/ray_tracing.py +0 -525
- simtools/simtel/simtel_histograms.py +0 -414
- simtools/simtel/simtel_runner.py +0 -244
- simtools/simtel/simtel_runner_array.py +0 -293
- simtools/simtel/simtel_runner_ray_tracing.py +0 -277
- {gammasimtools-0.6.1.dist-info → gammasimtools-0.8.2.dist-info}/LICENSE +0 -0
- {gammasimtools-0.6.1.dist-info → gammasimtools-0.8.2.dist-info}/top_level.txt +0 -0
- /simtools/{corsika_simtel → db}/__init__.py +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
---
|
|
2
|
+
$schema: http://json-schema.org/draft-06/schema#
|
|
3
|
+
$ref: '#/definitions/SimtoolsIntegrationTestConfiguration'
|
|
4
|
+
title: SimPipe integration test configuration metaschema
|
|
5
|
+
description: YAML representation of integration test configuration metaschema
|
|
6
|
+
version: 0.1.0
|
|
7
|
+
name: integration_tests_config.metaschema
|
|
8
|
+
type: object
|
|
9
|
+
additionalProperties: false
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
definitions:
|
|
13
|
+
SimtoolsIntegrationTestConfiguration:
|
|
14
|
+
type: object
|
|
15
|
+
additionalProperties: false
|
|
16
|
+
properties:
|
|
17
|
+
CTA_SIMPIPE:
|
|
18
|
+
"$ref": "#/definitions/CTASIMPIPE"
|
|
19
|
+
required:
|
|
20
|
+
- CTA_SIMPIPE
|
|
21
|
+
title: ""
|
|
22
|
+
CTASIMPIPE:
|
|
23
|
+
type: object
|
|
24
|
+
additionalProperties: false
|
|
25
|
+
properties:
|
|
26
|
+
APPLICATION:
|
|
27
|
+
type: string
|
|
28
|
+
description: "Name of simtools application"
|
|
29
|
+
TEST_NAME:
|
|
30
|
+
type: string
|
|
31
|
+
description: "Test name. Should be unique for this application."
|
|
32
|
+
MODEL_VERSION_USE_CURRENT:
|
|
33
|
+
type: boolean
|
|
34
|
+
description: |
|
|
35
|
+
"Skip test if model version is changed via command line.
|
|
36
|
+
Important e.g., for cases where DB model is incomplete for some
|
|
37
|
+
model versions."
|
|
38
|
+
CONFIGURATION:
|
|
39
|
+
"$ref": "#/definitions/Configuration"
|
|
40
|
+
INTEGRATION_TESTS:
|
|
41
|
+
type: array
|
|
42
|
+
items:
|
|
43
|
+
"$ref": "#/definitions/IntegrationTest"
|
|
44
|
+
required:
|
|
45
|
+
- APPLICATION
|
|
46
|
+
- CONFIGURATION
|
|
47
|
+
- TEST_NAME
|
|
48
|
+
title: CTASimpipe
|
|
49
|
+
Configuration:
|
|
50
|
+
description: "Command line configuration of simtools application."
|
|
51
|
+
type: object
|
|
52
|
+
additionalProperties: true
|
|
53
|
+
title: Configuration
|
|
54
|
+
IntegrationTest:
|
|
55
|
+
description: "List of integration tests."
|
|
56
|
+
type: object
|
|
57
|
+
additionalProperties: false
|
|
58
|
+
properties:
|
|
59
|
+
OUTPUT_FILE:
|
|
60
|
+
description: |
|
|
61
|
+
"Path of output file tested to be generated by integration test."
|
|
62
|
+
type: string
|
|
63
|
+
FILE_TYPE:
|
|
64
|
+
description: |
|
|
65
|
+
"Expected file type of output file generated by integration test."
|
|
66
|
+
type: string
|
|
67
|
+
REFERENCE_OUTPUT_FILE:
|
|
68
|
+
description: |
|
|
69
|
+
"Reference file used for comparison."
|
|
70
|
+
type: string
|
|
71
|
+
EXPECTED_OUTPUT:
|
|
72
|
+
description: |
|
|
73
|
+
"Expected output of integration test."
|
|
74
|
+
type: object
|
|
75
|
+
TOLERANCE:
|
|
76
|
+
description: "Allowed tolerance for floating point comparison."
|
|
77
|
+
type: number
|
|
78
|
+
TEST_COLUMNS:
|
|
79
|
+
description: "List of columns to be compared, each with optional cut conditions."
|
|
80
|
+
type: array
|
|
81
|
+
items:
|
|
82
|
+
type: object
|
|
83
|
+
properties:
|
|
84
|
+
TEST_COLUMN_NAME:
|
|
85
|
+
description: "Name of the column to compare."
|
|
86
|
+
type: string
|
|
87
|
+
CUT_COLUMN_NAME:
|
|
88
|
+
description: "Name of the column for applying the cut."
|
|
89
|
+
type: string
|
|
90
|
+
CUT_CONDITION:
|
|
91
|
+
description: "Condition to apply to the cut column."
|
|
92
|
+
type: string
|
|
93
|
+
title: IntegrationTest
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
---
|
|
2
|
+
$schema: http://json-schema.org/draft-06/schema#
|
|
3
|
+
$ref: '#/definitions/SimtoolsModelParameters'
|
|
4
|
+
title: SimPipe DB Model Parameter Metaschema
|
|
5
|
+
description: YAML representation of db model parameter metaschema
|
|
6
|
+
version: 0.1.0
|
|
7
|
+
name: modelparameter.metaschema
|
|
8
|
+
type: object
|
|
9
|
+
additionalProperties: false
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
definitions:
|
|
13
|
+
SimtoolsModelParameters:
|
|
14
|
+
description: ""
|
|
15
|
+
type: object
|
|
16
|
+
properties:
|
|
17
|
+
_id:
|
|
18
|
+
type: string
|
|
19
|
+
description: "DB unique identifier"
|
|
20
|
+
applicable:
|
|
21
|
+
type: boolean
|
|
22
|
+
description: "Model parameter to be used for this telescope and site"
|
|
23
|
+
entry_date:
|
|
24
|
+
type: string
|
|
25
|
+
description: "Value entry data"
|
|
26
|
+
file:
|
|
27
|
+
type: boolean
|
|
28
|
+
description: "This parameter is a file."
|
|
29
|
+
instrument:
|
|
30
|
+
type: string
|
|
31
|
+
description: "Associated instrument."
|
|
32
|
+
items:
|
|
33
|
+
type: string
|
|
34
|
+
description: "Parameter dimensions."
|
|
35
|
+
minimum:
|
|
36
|
+
type: string
|
|
37
|
+
description: "Minimum allowed value for this parameter (legacy entry)."
|
|
38
|
+
site:
|
|
39
|
+
type: string
|
|
40
|
+
description: "Associated CTAO site."
|
|
41
|
+
enum:
|
|
42
|
+
- North
|
|
43
|
+
- South
|
|
44
|
+
type:
|
|
45
|
+
type: string
|
|
46
|
+
description: "Data type"
|
|
47
|
+
enum:
|
|
48
|
+
- boolean
|
|
49
|
+
- double
|
|
50
|
+
- int
|
|
51
|
+
- string
|
|
52
|
+
- uint
|
|
53
|
+
- file
|
|
54
|
+
unit:
|
|
55
|
+
anyOf:
|
|
56
|
+
- type: string
|
|
57
|
+
- type: "null"
|
|
58
|
+
description: "Unit of the parameter."
|
|
59
|
+
value:
|
|
60
|
+
anyOf:
|
|
61
|
+
- type: boolean
|
|
62
|
+
- type: number
|
|
63
|
+
- type: string
|
|
64
|
+
description: "Value of the parameter."
|
|
65
|
+
version:
|
|
66
|
+
anyOf:
|
|
67
|
+
- type: string
|
|
68
|
+
- type: "null"
|
|
69
|
+
description: "Model version."
|
|
70
|
+
required:
|
|
71
|
+
- applicable
|
|
72
|
+
- file
|
|
73
|
+
- instrument
|
|
74
|
+
- site
|
|
75
|
+
- type
|
|
76
|
+
- unit
|
|
77
|
+
- value
|
|
78
|
+
- version
|
|
@@ -4,7 +4,7 @@ $ref: '#/definitions/SimtoolsDataAndModelParameters'
|
|
|
4
4
|
title: SimPipe Data and Model Parameter Metaschema
|
|
5
5
|
description: YAML representation of data and model parameter metaschema
|
|
6
6
|
version: 0.1.0
|
|
7
|
-
name:
|
|
7
|
+
name: model_parameter_and_data_schema.metaschema
|
|
8
8
|
type: object
|
|
9
9
|
additionalProperties: false
|
|
10
10
|
|
|
@@ -98,8 +98,13 @@ definitions:
|
|
|
98
98
|
Use `file` if the parameter describes a file name.
|
|
99
99
|
Use `data_table` if the parameter describes a data table
|
|
100
100
|
(requires TABLE_COLUMNS description)"
|
|
101
|
-
|
|
102
|
-
$ref:
|
|
101
|
+
json_schema:
|
|
102
|
+
$ref: "http://json-schema.org/draft-06/schema#"
|
|
103
|
+
description: |-
|
|
104
|
+
"json schema describing the parameter"
|
|
105
|
+
additionalProperties: true
|
|
106
|
+
unit:
|
|
107
|
+
$ref: '#/definitions/Unit'
|
|
103
108
|
allowed_range:
|
|
104
109
|
$ref: '#/definitions/ValueRange'
|
|
105
110
|
allowed_values:
|
|
@@ -142,14 +147,14 @@ definitions:
|
|
|
142
147
|
- string
|
|
143
148
|
- boolean
|
|
144
149
|
description: "default value"
|
|
145
|
-
|
|
146
|
-
$ref: '#/definitions/
|
|
150
|
+
unit:
|
|
151
|
+
$ref: '#/definitions/Unit'
|
|
147
152
|
description: |-
|
|
148
|
-
"parameter
|
|
153
|
+
"parameter unit
|
|
149
154
|
(using astropy names wherever possible)"
|
|
150
155
|
required:
|
|
151
156
|
- type
|
|
152
|
-
-
|
|
157
|
+
- unit
|
|
153
158
|
title: DataClass
|
|
154
159
|
ValueRange:
|
|
155
160
|
type: object
|
|
@@ -185,9 +190,9 @@ definitions:
|
|
|
185
190
|
condition:
|
|
186
191
|
type: string
|
|
187
192
|
description: "condition to change this column to a required data column"
|
|
188
|
-
|
|
193
|
+
unit:
|
|
189
194
|
type: string
|
|
190
|
-
description: "column
|
|
195
|
+
description: "column unit"
|
|
191
196
|
type:
|
|
192
197
|
$ref: '#/definitions/TableColumnType'
|
|
193
198
|
description: "column data type"
|
|
@@ -226,7 +231,7 @@ definitions:
|
|
|
226
231
|
- description
|
|
227
232
|
- name
|
|
228
233
|
- type
|
|
229
|
-
-
|
|
234
|
+
- unit
|
|
230
235
|
title: TableColumn
|
|
231
236
|
Instrument:
|
|
232
237
|
type: object
|
|
@@ -236,6 +241,7 @@ definitions:
|
|
|
236
241
|
type: string
|
|
237
242
|
description: "instrument class"
|
|
238
243
|
enum:
|
|
244
|
+
- Calibration
|
|
239
245
|
- Camera
|
|
240
246
|
- Site
|
|
241
247
|
- Structure
|
|
@@ -261,16 +267,7 @@ definitions:
|
|
|
261
267
|
description: "specific type of instrument"
|
|
262
268
|
enum:
|
|
263
269
|
- Atmosphere
|
|
264
|
-
- FlashCam
|
|
265
|
-
- LSTCam
|
|
266
|
-
- LSTStructure
|
|
267
|
-
- MSTStructure
|
|
268
|
-
- NectarCam
|
|
269
270
|
- Observatory
|
|
270
|
-
- SCTCam
|
|
271
|
-
- SCTStructure
|
|
272
|
-
- SSTCam
|
|
273
|
-
- SSTStructure
|
|
274
271
|
- None
|
|
275
272
|
title: InstrumentTypeElement
|
|
276
273
|
SimulationSoftware:
|
|
@@ -283,10 +280,10 @@ definitions:
|
|
|
283
280
|
type: string
|
|
284
281
|
description: |-
|
|
285
282
|
"version of simulation software this parameter is used"
|
|
286
|
-
|
|
283
|
+
internal_parameter_name:
|
|
287
284
|
type: string
|
|
288
285
|
description: |-
|
|
289
|
-
"
|
|
286
|
+
"Naming of parameter as used this simulation software"
|
|
290
287
|
required:
|
|
291
288
|
- name
|
|
292
289
|
title: SimulationSoftware
|
|
@@ -349,36 +346,21 @@ definitions:
|
|
|
349
346
|
type: string
|
|
350
347
|
enum:
|
|
351
348
|
- boolean
|
|
352
|
-
-
|
|
349
|
+
- data_table
|
|
350
|
+
- dict
|
|
353
351
|
- double
|
|
354
352
|
- float64
|
|
355
353
|
- int
|
|
356
354
|
- string
|
|
357
355
|
- uint
|
|
356
|
+
- file
|
|
358
357
|
title: TableColumnType
|
|
359
|
-
|
|
358
|
+
Unit:
|
|
360
359
|
type: string
|
|
361
360
|
description: |-
|
|
362
|
-
"
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
- dimensionless
|
|
366
|
-
- ns
|
|
367
|
-
- V
|
|
368
|
-
- mV
|
|
369
|
-
- deg
|
|
370
|
-
- m
|
|
371
|
-
- cm
|
|
372
|
-
- nm
|
|
373
|
-
- uT
|
|
374
|
-
- adc_counts
|
|
375
|
-
- MHz
|
|
376
|
-
- GHz
|
|
377
|
-
- adc_counts / mV
|
|
378
|
-
- mV * ns
|
|
379
|
-
- pct
|
|
380
|
-
- uA
|
|
381
|
-
title: Units
|
|
361
|
+
"Unit correspond to astropy unit names"
|
|
362
|
+
format: astropy_unit
|
|
363
|
+
title: Unit
|
|
382
364
|
SimulationSoftwareName:
|
|
383
365
|
type: string
|
|
384
366
|
description: |-
|
|
@@ -386,7 +368,7 @@ definitions:
|
|
|
386
368
|
enum:
|
|
387
369
|
- sim_telarray
|
|
388
370
|
- corsika
|
|
389
|
-
-
|
|
371
|
+
- simtools
|
|
390
372
|
title: Name
|
|
391
373
|
Source:
|
|
392
374
|
type: string
|
|
@@ -397,4 +379,5 @@ definitions:
|
|
|
397
379
|
- External
|
|
398
380
|
- Observation execution
|
|
399
381
|
- SimPipe Derived
|
|
382
|
+
- Configuration
|
|
400
383
|
title: Source
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for adjust_gain 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: adjust_gain
|
|
9
|
+
description: |-
|
|
10
|
+
Multiplicative adjustment for FADC and discriminator/comparator amplitude
|
|
11
|
+
and PMT gain.
|
|
12
|
+
short_description: |-
|
|
13
|
+
Gain adjustment for amplitudes and PMT gain.
|
|
14
|
+
data:
|
|
15
|
+
- type: double
|
|
16
|
+
unit: dimensionless
|
|
17
|
+
default: 1.0
|
|
18
|
+
allowed_range:
|
|
19
|
+
min: 0.1
|
|
20
|
+
max: 10.
|
|
21
|
+
instrument:
|
|
22
|
+
class: Camera
|
|
23
|
+
type:
|
|
24
|
+
- MSTN
|
|
25
|
+
- MSTS
|
|
26
|
+
- SSTS
|
|
27
|
+
- SCTS
|
|
28
|
+
activity:
|
|
29
|
+
setting:
|
|
30
|
+
- SetParameterFromExternal
|
|
31
|
+
validation:
|
|
32
|
+
- ValidateParameterByExpert
|
|
33
|
+
- ValidateCameraGainsAndEfficiency
|
|
34
|
+
source:
|
|
35
|
+
- Calibration
|
|
36
|
+
simulation_software:
|
|
37
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for altitude 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: altitude
|
|
9
|
+
description: |-
|
|
10
|
+
Altitude above sea level of site centre.
|
|
11
|
+
Telescope z-positions are defined relative to this level
|
|
12
|
+
(taking `telescope_axes_height` into account).
|
|
13
|
+
short_description: Altitude above sea level of site centre.
|
|
14
|
+
data:
|
|
15
|
+
- type: double
|
|
16
|
+
unit: m
|
|
17
|
+
default: 1800.
|
|
18
|
+
allowed_range:
|
|
19
|
+
min: 0.0
|
|
20
|
+
instrument:
|
|
21
|
+
class: Site
|
|
22
|
+
type:
|
|
23
|
+
- Observatory
|
|
24
|
+
site:
|
|
25
|
+
- North
|
|
26
|
+
- South
|
|
27
|
+
activity:
|
|
28
|
+
setting:
|
|
29
|
+
- SetParameterFromExternal
|
|
30
|
+
- SetArrayElementCoordinates
|
|
31
|
+
validation:
|
|
32
|
+
- ValidateParameterByExpert
|
|
33
|
+
- ValidateArrayElementCoordinates
|
|
34
|
+
source:
|
|
35
|
+
- Initial instrument setup
|
|
36
|
+
simulation_software:
|
|
37
|
+
- name: corsika
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for array_coordinates 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
|
+
developer_note: To be replaced by a data table
|
|
9
|
+
name: array_coordinates
|
|
10
|
+
description: |-
|
|
11
|
+
Array element positions (e.g., telescope positions) in ground coordinates.
|
|
12
|
+
data:
|
|
13
|
+
- type: file
|
|
14
|
+
unit: dimensionless
|
|
15
|
+
default: None
|
|
16
|
+
instrument:
|
|
17
|
+
class: Site
|
|
18
|
+
type:
|
|
19
|
+
- Observatory
|
|
20
|
+
site:
|
|
21
|
+
- North
|
|
22
|
+
- South
|
|
23
|
+
activity:
|
|
24
|
+
setting:
|
|
25
|
+
- SetParameterFromExternal
|
|
26
|
+
- SetArrayElementCoordinates
|
|
27
|
+
validation:
|
|
28
|
+
- ValidateParameterByExpert
|
|
29
|
+
- ValidateArrayElementCoordinates
|
|
30
|
+
source:
|
|
31
|
+
- Initial instrument setup
|
|
32
|
+
simulation_software:
|
|
33
|
+
- name: corsika
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for array_coordinates_utm input data
|
|
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: array_coordinates_utm
|
|
9
|
+
description: |-
|
|
10
|
+
Array element positions (e.g., telescope positions) in UTM coordinates.
|
|
11
|
+
developer_note: |-
|
|
12
|
+
Use NaN for missing values.
|
|
13
|
+
data:
|
|
14
|
+
- type: data_table
|
|
15
|
+
table_columns:
|
|
16
|
+
- name: asset_code
|
|
17
|
+
description: |-
|
|
18
|
+
Asset code of the array element.
|
|
19
|
+
type: string
|
|
20
|
+
required: true
|
|
21
|
+
unit: dimensionless
|
|
22
|
+
- name: sequence_number
|
|
23
|
+
description: |-
|
|
24
|
+
Sequence number of the array element.
|
|
25
|
+
type: string
|
|
26
|
+
required: true
|
|
27
|
+
unit: dimensionless
|
|
28
|
+
- name: utm_east
|
|
29
|
+
description: |-
|
|
30
|
+
UTM East coordinate of the array element.
|
|
31
|
+
type: double
|
|
32
|
+
required: true
|
|
33
|
+
unit: m
|
|
34
|
+
input_processing:
|
|
35
|
+
- allow_nan
|
|
36
|
+
- name: utm_north
|
|
37
|
+
description: |-
|
|
38
|
+
UTM North coordinate of the array element.
|
|
39
|
+
type: double
|
|
40
|
+
required: true
|
|
41
|
+
unit: m
|
|
42
|
+
input_processing:
|
|
43
|
+
- allow_nan
|
|
44
|
+
- name: altitude
|
|
45
|
+
description: |-
|
|
46
|
+
Altitude of the array element.
|
|
47
|
+
required: true
|
|
48
|
+
type: double
|
|
49
|
+
unit: m
|
|
50
|
+
allowed_range:
|
|
51
|
+
min: 0.
|
|
52
|
+
input_processing:
|
|
53
|
+
- allow_nan
|
|
54
|
+
- name: geo_code
|
|
55
|
+
description: |-
|
|
56
|
+
Geographic code of the array element.
|
|
57
|
+
type: string
|
|
58
|
+
required: false
|
|
59
|
+
unit: dimensionless
|
|
60
|
+
instrument:
|
|
61
|
+
class: Site
|
|
62
|
+
type:
|
|
63
|
+
- Observatory
|
|
64
|
+
site:
|
|
65
|
+
- North
|
|
66
|
+
- South
|
|
67
|
+
activity:
|
|
68
|
+
setting:
|
|
69
|
+
- SetParameterFromExternal
|
|
70
|
+
- SetArrayElementCoordinates
|
|
71
|
+
validation:
|
|
72
|
+
- ValidateParameterByExpert
|
|
73
|
+
- ValidateArrayElementCoordinates
|
|
74
|
+
source:
|
|
75
|
+
- Initial instrument setup
|
|
76
|
+
simulation_software:
|
|
77
|
+
- name: corsika
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for array_element_position_ground 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: array_element_position_ground
|
|
9
|
+
description: |-
|
|
10
|
+
Position of an array element (e.g., a telescope) in ground coordinates.
|
|
11
|
+
short_description: Ground coordinate position of an array element.
|
|
12
|
+
data:
|
|
13
|
+
- type: double
|
|
14
|
+
unit: m
|
|
15
|
+
description: Array element position in x-direction (towards North)
|
|
16
|
+
- type: double
|
|
17
|
+
unit: m
|
|
18
|
+
description: Array element position in y-direction (towards West)
|
|
19
|
+
- type: double
|
|
20
|
+
unit: m
|
|
21
|
+
description: Array element altitude above reference_point_altitude
|
|
22
|
+
instrument:
|
|
23
|
+
class: Structure
|
|
24
|
+
type:
|
|
25
|
+
- LSTN
|
|
26
|
+
- LSTS
|
|
27
|
+
- MSTN
|
|
28
|
+
- MSTS
|
|
29
|
+
- SSTS
|
|
30
|
+
- SCTS
|
|
31
|
+
activity:
|
|
32
|
+
setting:
|
|
33
|
+
- SetParameterFromExternal
|
|
34
|
+
- SetArrayElementCoordinates
|
|
35
|
+
validation:
|
|
36
|
+
- ValidateParameterByExpert
|
|
37
|
+
- ValidateArrayElementCoordinates
|
|
38
|
+
source:
|
|
39
|
+
- Initial instrument setup
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for array_element_position_utm 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: array_element_position_utm
|
|
9
|
+
description: |-
|
|
10
|
+
Position and alitutude of an array element (e.g., a telescope) in UTM coordinates.
|
|
11
|
+
short_description: UTM coordinate position of an array element.
|
|
12
|
+
data:
|
|
13
|
+
- type: double
|
|
14
|
+
unit: m
|
|
15
|
+
description: Array element position in UTM East.
|
|
16
|
+
- type: double
|
|
17
|
+
unit: m
|
|
18
|
+
description: Array element position in UTM North.
|
|
19
|
+
- type: double
|
|
20
|
+
unit: m
|
|
21
|
+
description: Array element altitude above sea level.
|
|
22
|
+
instrument:
|
|
23
|
+
class: Structure
|
|
24
|
+
type:
|
|
25
|
+
- LSTN
|
|
26
|
+
- LSTS
|
|
27
|
+
- MSTN
|
|
28
|
+
- MSTS
|
|
29
|
+
- SSTS
|
|
30
|
+
- SCTS
|
|
31
|
+
activity:
|
|
32
|
+
setting:
|
|
33
|
+
- SetParameterFromExternal
|
|
34
|
+
- SetArrayElementCoordinates
|
|
35
|
+
validation:
|
|
36
|
+
- ValidateParameterByExpert
|
|
37
|
+
- ValidateArrayElementCoordinates
|
|
38
|
+
source:
|
|
39
|
+
- Initial instrument setup
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for array_layouts 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: array_layouts
|
|
9
|
+
description: |-
|
|
10
|
+
Array layout definitions.
|
|
11
|
+
data:
|
|
12
|
+
- type: dict
|
|
13
|
+
json_schema:
|
|
14
|
+
type: array
|
|
15
|
+
items:
|
|
16
|
+
type: object
|
|
17
|
+
properties:
|
|
18
|
+
name:
|
|
19
|
+
type: string
|
|
20
|
+
description: Name of the array layout.
|
|
21
|
+
elements:
|
|
22
|
+
type: array
|
|
23
|
+
items:
|
|
24
|
+
type: string
|
|
25
|
+
format: array_element
|
|
26
|
+
description: Name of the array element.
|
|
27
|
+
required:
|
|
28
|
+
- name
|
|
29
|
+
- elements
|
|
30
|
+
additionalProperties: false
|
|
31
|
+
instrument:
|
|
32
|
+
class: Site
|
|
33
|
+
type:
|
|
34
|
+
- Observatory
|
|
35
|
+
site:
|
|
36
|
+
- North
|
|
37
|
+
- South
|
|
38
|
+
activity:
|
|
39
|
+
setting:
|
|
40
|
+
- SetParameterFromExternal
|
|
41
|
+
- SetArrayElementCoordinates
|
|
42
|
+
validation:
|
|
43
|
+
- ValidateParameterByExpert
|
|
44
|
+
- ValidateArrayElementCoordinates
|
|
45
|
+
source:
|
|
46
|
+
- Initial instrument setup
|
|
47
|
+
simulation_software:
|
|
48
|
+
- name: simtools
|