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,40 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_lg_pedestal 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: fadc_lg_pedestal
|
|
9
|
+
description: (F)ADC pedestal value per time slice (low-gain channels).
|
|
10
|
+
data:
|
|
11
|
+
- type: double
|
|
12
|
+
description: |-
|
|
13
|
+
(F)ADC pedestal value per time slice
|
|
14
|
+
(for low-gain channel in case of dual-readout chain).
|
|
15
|
+
unit: count
|
|
16
|
+
condition: num_gains==2
|
|
17
|
+
default: -1.
|
|
18
|
+
allowed_range:
|
|
19
|
+
min: -2.
|
|
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
|
+
- ValidateReadout
|
|
35
|
+
- ValidatePedestalEvents
|
|
36
|
+
- ValidateTelescopeSimulationModel
|
|
37
|
+
source:
|
|
38
|
+
- Observation execution
|
|
39
|
+
simulation_software:
|
|
40
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_lg_sensitivity 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: fadc_lg_sensitivity
|
|
9
|
+
developer_note: |-
|
|
10
|
+
DISCUSS - suggest to fix this to 1. for CTA and enforce
|
|
11
|
+
that fadc_amplitude is given in the correct units.
|
|
12
|
+
description: |-
|
|
13
|
+
FADC counts per mV voltage (or whatever unit is used for
|
|
14
|
+
par:fadc-amplitude; for low-gain channels). The definition of '1.0' means that ADC
|
|
15
|
+
amplitudes have to be given directly in units of the average
|
|
16
|
+
amplitude of a single photo-electron.
|
|
17
|
+
short_description: FADC counts per mV voltage (for low-gain channels).
|
|
18
|
+
data:
|
|
19
|
+
- type: double
|
|
20
|
+
description: |-
|
|
21
|
+
FADC counts per mV voltage.
|
|
22
|
+
(for low-gain channel in case of dual-readout chain).
|
|
23
|
+
condition: num_gains==2
|
|
24
|
+
default: -1.
|
|
25
|
+
unit: count / mV
|
|
26
|
+
allowed_range:
|
|
27
|
+
min: -2.
|
|
28
|
+
instrument:
|
|
29
|
+
class: Camera
|
|
30
|
+
type:
|
|
31
|
+
- LSTN
|
|
32
|
+
- LSTS
|
|
33
|
+
- MSTN
|
|
34
|
+
- MSTS
|
|
35
|
+
- SSTS
|
|
36
|
+
- SCTS
|
|
37
|
+
activity:
|
|
38
|
+
setting:
|
|
39
|
+
- SetParameterFromExternal
|
|
40
|
+
validation:
|
|
41
|
+
- ValidateParameterByExpert
|
|
42
|
+
- ValidatePedestalEvents
|
|
43
|
+
- ValidateReadout
|
|
44
|
+
- ValidateCameraChargeResponse
|
|
45
|
+
- ValidateCameraLinearity
|
|
46
|
+
- ValidateTelescopeSimulationModel
|
|
47
|
+
source:
|
|
48
|
+
- Initial instrument setup
|
|
49
|
+
simulation_software:
|
|
50
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_lg_sysvar_pedestal 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: fadc_lg_sysvar_pedestal
|
|
9
|
+
description: |-
|
|
10
|
+
Systematic common (e.g. due to temperature) variation of pedestals (ow-gain channels).
|
|
11
|
+
All reported monitoring data in the same run is offset by the same
|
|
12
|
+
(random) amount. Parameter determines the Gaussian r.m.s.
|
|
13
|
+
short_description: Systematic common variations of pedestals (low-gain channels).
|
|
14
|
+
data:
|
|
15
|
+
- type: double
|
|
16
|
+
description: |-
|
|
17
|
+
Systematic common variations of pedestals.
|
|
18
|
+
(for low-gain channel in case of dual-readout chain).
|
|
19
|
+
condition: num_gains==2
|
|
20
|
+
default: -1.
|
|
21
|
+
unit: count
|
|
22
|
+
allowed_range:
|
|
23
|
+
min: -2.
|
|
24
|
+
instrument:
|
|
25
|
+
class: Camera
|
|
26
|
+
type:
|
|
27
|
+
- LSTN
|
|
28
|
+
- LSTS
|
|
29
|
+
- MSTN
|
|
30
|
+
- MSTS
|
|
31
|
+
- SSTS
|
|
32
|
+
- SCTS
|
|
33
|
+
activity:
|
|
34
|
+
setting:
|
|
35
|
+
- SetParameterFromExternal
|
|
36
|
+
validation:
|
|
37
|
+
- ValidateParameterByExpert
|
|
38
|
+
- ValidatePedestalEvents
|
|
39
|
+
source:
|
|
40
|
+
- Observation execution
|
|
41
|
+
simulation_software:
|
|
42
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_lg_var_pedestal 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: fadc_lg_var_pedestal
|
|
9
|
+
description: |-
|
|
10
|
+
Channel-to-channel (or pixel-to-pixel) variation of the pedestal per FADC
|
|
11
|
+
time slice (low-gain channels). Value is the r.m.s. of the randomly chosen pedestal values
|
|
12
|
+
around the FADC pedestal.
|
|
13
|
+
data:
|
|
14
|
+
- type: double
|
|
15
|
+
description: |-
|
|
16
|
+
Pedestal variations
|
|
17
|
+
(for low-gain channel in case of dual-readout chain).
|
|
18
|
+
condition: num_gains==2
|
|
19
|
+
unit: count
|
|
20
|
+
default: -1.
|
|
21
|
+
allowed_range:
|
|
22
|
+
min: -2.
|
|
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
|
+
- ValidatePedestalEvents
|
|
38
|
+
source:
|
|
39
|
+
- Calibration
|
|
40
|
+
simulation_software:
|
|
41
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_lg_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/src/simtools/schemas/model_parameter_and_data_schema.metaschema.yml
|
|
7
|
+
meta_schema_version: 0.1.0
|
|
8
|
+
name: fadc_lg_var_sensitivity
|
|
9
|
+
description: Relative variations in sensitivity (even for FADCs of the same channel; low-gain channels).
|
|
10
|
+
data:
|
|
11
|
+
- type: double
|
|
12
|
+
description: |-
|
|
13
|
+
Relative variations in sensitivity
|
|
14
|
+
(for low-gain channel in case of dual-readout chain).
|
|
15
|
+
condition: num_gains==2
|
|
16
|
+
unit: dimensionless
|
|
17
|
+
default: -1.
|
|
18
|
+
allowed_range:
|
|
19
|
+
min: -2.
|
|
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,43 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_max_signal 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: fadc_max_signal
|
|
9
|
+
description: |-
|
|
10
|
+
Maximum value of digitized signal per sample
|
|
11
|
+
(for high-gain channel for dual-gain readout).
|
|
12
|
+
For a typical 12-bit ADC this would be 4095.
|
|
13
|
+
short_description: Maximum value of digitized signal per sample.
|
|
14
|
+
data:
|
|
15
|
+
- type: uint
|
|
16
|
+
description: |-
|
|
17
|
+
Maximum FADC signal
|
|
18
|
+
(for high-gain channel in case of dual-readout chain).
|
|
19
|
+
unit: count
|
|
20
|
+
default: 0
|
|
21
|
+
allowed_range:
|
|
22
|
+
min: 0
|
|
23
|
+
max: 65535
|
|
24
|
+
instrument:
|
|
25
|
+
class: Camera
|
|
26
|
+
type:
|
|
27
|
+
- LSTN
|
|
28
|
+
- LSTS
|
|
29
|
+
- MSTN
|
|
30
|
+
- MSTS
|
|
31
|
+
- SSTS
|
|
32
|
+
- SCTS
|
|
33
|
+
activity:
|
|
34
|
+
setting:
|
|
35
|
+
- SetParameterFromExternal
|
|
36
|
+
validation:
|
|
37
|
+
- ValidateParameterByExpert
|
|
38
|
+
- ValidateReadout
|
|
39
|
+
- ValidateCameraLinearity
|
|
40
|
+
source:
|
|
41
|
+
- Initial instrument setup
|
|
42
|
+
simulation_software:
|
|
43
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_max_sum 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: fadc_max_sum
|
|
9
|
+
developer_note: Not applicable for CTA telescopes.
|
|
10
|
+
description: |-
|
|
11
|
+
The maximum value of a pulse sum produced by hardware pulse summation,
|
|
12
|
+
in sum mode rather than recording pulse samples
|
|
13
|
+
(for high-gain channel for dual-gain readout).
|
|
14
|
+
Typical limitations are 15 or 16 bits, i.e. 32767 or 65535.
|
|
15
|
+
short_description: |-
|
|
16
|
+
The maximum value of a pulse sum produced by hardware pulse summation,
|
|
17
|
+
in sum mode rather than recording pulse samples.
|
|
18
|
+
data:
|
|
19
|
+
- type: uint
|
|
20
|
+
description: |-
|
|
21
|
+
Maximum value of a pulse sum
|
|
22
|
+
(for high-gain channel in case of dual-readout chain)
|
|
23
|
+
unit: count
|
|
24
|
+
default: 0
|
|
25
|
+
allowed_range:
|
|
26
|
+
min: 0
|
|
27
|
+
instrument:
|
|
28
|
+
class: Camera
|
|
29
|
+
type:
|
|
30
|
+
- None
|
|
31
|
+
activity:
|
|
32
|
+
setting:
|
|
33
|
+
- None
|
|
34
|
+
validation:
|
|
35
|
+
- None
|
|
36
|
+
source:
|
|
37
|
+
- Initial instrument setup
|
|
38
|
+
simulation_software:
|
|
39
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_mhz 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: fadc_mhz
|
|
9
|
+
description: FADC sampling rate.
|
|
10
|
+
data:
|
|
11
|
+
- type: double
|
|
12
|
+
default: 1000.
|
|
13
|
+
unit: MHz
|
|
14
|
+
instrument:
|
|
15
|
+
class: Camera
|
|
16
|
+
type:
|
|
17
|
+
- LSTN
|
|
18
|
+
- LSTS
|
|
19
|
+
- MSTN
|
|
20
|
+
- MSTS
|
|
21
|
+
- SSTS
|
|
22
|
+
- SCTS
|
|
23
|
+
activity:
|
|
24
|
+
setting:
|
|
25
|
+
- SetParameterFromExternal
|
|
26
|
+
validation:
|
|
27
|
+
- ValidateParameterByExpert
|
|
28
|
+
source:
|
|
29
|
+
- Initial instrument setup
|
|
30
|
+
simulation_software:
|
|
31
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_noise 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: fadc_noise
|
|
9
|
+
description: |-
|
|
10
|
+
Gaussian r.m.s. spread of white noise per time bin in digitisation
|
|
11
|
+
(for high-gain channel, if different gains are used).
|
|
12
|
+
short_description: Gaussian r.m.s. spread of white noise per time bin in digitisation.
|
|
13
|
+
data:
|
|
14
|
+
- type: double
|
|
15
|
+
description: |-
|
|
16
|
+
Gaussian r.m.s. spread of white noise per time bin in digitisation
|
|
17
|
+
(for high-gain channel in case of dual-readout chain)
|
|
18
|
+
unit: count
|
|
19
|
+
default: 4.0
|
|
20
|
+
allowed_range:
|
|
21
|
+
min: 0.0
|
|
22
|
+
max: 100.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
|
+
- ValidatePedestalEvents
|
|
38
|
+
source:
|
|
39
|
+
- Calibration
|
|
40
|
+
simulation_software:
|
|
41
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_pedestal 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: fadc_pedestal
|
|
9
|
+
description: |-
|
|
10
|
+
(F)ADC pedestal value per time slice (for high-gain channel for dual-gain readout).
|
|
11
|
+
data:
|
|
12
|
+
- type: double
|
|
13
|
+
description: |-
|
|
14
|
+
(F)ADC pedestal value per time slice
|
|
15
|
+
(for high-gain channel in case of dual-readout chain).
|
|
16
|
+
unit: count
|
|
17
|
+
default: 100.
|
|
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
|
+
- ValidateReadout
|
|
35
|
+
- ValidatePedestalEvents
|
|
36
|
+
- ValidateTelescopeSimulationModel
|
|
37
|
+
source:
|
|
38
|
+
- Observation execution
|
|
39
|
+
simulation_software:
|
|
40
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_pulse_shape 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: fadc_pulse_shape
|
|
10
|
+
description: |-
|
|
11
|
+
(F)ADC pulse shape (amplitude vs time) for low and high gain
|
|
12
|
+
readout chain. The pulse amplitude scale is ignored and the pulses are
|
|
13
|
+
re-scaled to peak values of par:fadc-amplitude times par:fadc-sensitivity.
|
|
14
|
+
short_description: (F)ADC pulse shape (amplitude vs time).
|
|
15
|
+
data:
|
|
16
|
+
- type: file
|
|
17
|
+
unit: dimensionless
|
|
18
|
+
default: 'unspecified_shape.dat'
|
|
19
|
+
instrument:
|
|
20
|
+
class: Camera
|
|
21
|
+
type:
|
|
22
|
+
- LSTN
|
|
23
|
+
- LSTS
|
|
24
|
+
- MSTN
|
|
25
|
+
- MSTS
|
|
26
|
+
- SSTS
|
|
27
|
+
- SCTS
|
|
28
|
+
activity:
|
|
29
|
+
setting:
|
|
30
|
+
- SetReadoutPulseShape
|
|
31
|
+
- SetParameterFromExternal
|
|
32
|
+
validation:
|
|
33
|
+
- ValidateParameterByExpert
|
|
34
|
+
- ValidateCameraChargeResponse
|
|
35
|
+
- ValidateCameraTimeResponse
|
|
36
|
+
source:
|
|
37
|
+
- Calibration
|
|
38
|
+
simulation_software:
|
|
39
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_sensitivity 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: fadc_sensitivity
|
|
9
|
+
developer_note: |-
|
|
10
|
+
DISCUSS - suggest to fix this to 1. for CTA and enforce
|
|
11
|
+
that fadc_amplitude is given in the correct units.
|
|
12
|
+
description: |-
|
|
13
|
+
FADC counts per mV voltage (or whatever unit is used for
|
|
14
|
+
par:fadc-amplitude). The definition of '1.0' means that ADC
|
|
15
|
+
amplitudes have to be given directly in units of the average
|
|
16
|
+
amplitude of a single photo-electron
|
|
17
|
+
(for high-gain channel for dual-gain readout).
|
|
18
|
+
short_description: FADC counts per mV voltage.
|
|
19
|
+
data:
|
|
20
|
+
- type: double
|
|
21
|
+
description: |-
|
|
22
|
+
FADC counts per mV voltage.
|
|
23
|
+
(for high-gain channel in case of dual-readout chain).
|
|
24
|
+
unit: count / mV
|
|
25
|
+
default: 1.0
|
|
26
|
+
allowed_range:
|
|
27
|
+
min: 0.0
|
|
28
|
+
instrument:
|
|
29
|
+
class: Camera
|
|
30
|
+
type:
|
|
31
|
+
- LSTN
|
|
32
|
+
- LSTS
|
|
33
|
+
- MSTN
|
|
34
|
+
- MSTS
|
|
35
|
+
- SSTS
|
|
36
|
+
- SCTS
|
|
37
|
+
activity:
|
|
38
|
+
setting:
|
|
39
|
+
- SetParameterFromExternal
|
|
40
|
+
validation:
|
|
41
|
+
- ValidateParameterByExpert
|
|
42
|
+
- ValidatePedestalEvents
|
|
43
|
+
- ValidateReadout
|
|
44
|
+
- ValidateCameraChargeResponse
|
|
45
|
+
- ValidateCameraLinearity
|
|
46
|
+
- ValidateTelescopeSimulationModel
|
|
47
|
+
source:
|
|
48
|
+
- Initial instrument setup
|
|
49
|
+
simulation_software:
|
|
50
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_sum_bins 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: fadc_sum_bins
|
|
9
|
+
description: |-
|
|
10
|
+
Number of bins summed up in ADC sum data or read out in sampled data.
|
|
11
|
+
This number corresponds to the experimental length of the readout window.
|
|
12
|
+
The start of the readout window starts fadc_sum_offset bins
|
|
13
|
+
before the calculated time of the trigger, as long as the readout window
|
|
14
|
+
fits fully in the simulated window. With peak sensing readout, the same
|
|
15
|
+
interval is used for searching the peak signal.
|
|
16
|
+
short_description: |-
|
|
17
|
+
Number of bins read out in sampled data or summed up in ADC sum data.
|
|
18
|
+
Corresponds to the experimental length of the readout window.
|
|
19
|
+
data:
|
|
20
|
+
- type: uint
|
|
21
|
+
unit: dimensionless
|
|
22
|
+
default: 0
|
|
23
|
+
allowed_range:
|
|
24
|
+
min: 0
|
|
25
|
+
instrument:
|
|
26
|
+
class: Camera
|
|
27
|
+
type:
|
|
28
|
+
- LSTN
|
|
29
|
+
- LSTS
|
|
30
|
+
- MSTN
|
|
31
|
+
- MSTS
|
|
32
|
+
- SSTS
|
|
33
|
+
- SCTS
|
|
34
|
+
activity:
|
|
35
|
+
setting:
|
|
36
|
+
- SetParameterFromExternal
|
|
37
|
+
validation:
|
|
38
|
+
- ValidateParameterByExpert
|
|
39
|
+
- ValidateReadout
|
|
40
|
+
source:
|
|
41
|
+
- Initial instrument setup
|
|
42
|
+
simulation_software:
|
|
43
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_sum_offset 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: fadc_sum_offset
|
|
9
|
+
description: |-
|
|
10
|
+
Number of bins before telescope trigger where summing or reading of
|
|
11
|
+
sampled data starts (see also description of fadc_sum_bins). With peak
|
|
12
|
+
sensing readout, the same offset is used for setting the interval for
|
|
13
|
+
the searching of the peak signal. For negative values, the summing or
|
|
14
|
+
reading starts after the trigger.
|
|
15
|
+
short_description: |-
|
|
16
|
+
Number of bins before telescope trigger where summing or reading of
|
|
17
|
+
sampled data starts.
|
|
18
|
+
data:
|
|
19
|
+
- type: int
|
|
20
|
+
unit: dimensionless
|
|
21
|
+
default: 0
|
|
22
|
+
allowed_range:
|
|
23
|
+
min: -160
|
|
24
|
+
max: 160
|
|
25
|
+
instrument:
|
|
26
|
+
class: Camera
|
|
27
|
+
type:
|
|
28
|
+
- LSTN
|
|
29
|
+
- LSTS
|
|
30
|
+
- MSTN
|
|
31
|
+
- MSTS
|
|
32
|
+
- SSTS
|
|
33
|
+
- SCTS
|
|
34
|
+
activity:
|
|
35
|
+
setting:
|
|
36
|
+
- SetParameterFromExternal
|
|
37
|
+
validation:
|
|
38
|
+
- ValidateParameterByExpert
|
|
39
|
+
- ValidateReadout
|
|
40
|
+
source:
|
|
41
|
+
- Initial instrument setup
|
|
42
|
+
simulation_software:
|
|
43
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_sysvar_pedestal 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: fadc_sysvar_pedestal
|
|
9
|
+
description: |-
|
|
10
|
+
Systematic common (e.g. due to temperature) variation of pedestals
|
|
11
|
+
(for high-gain channel for dual-gain readout).
|
|
12
|
+
All reported monitoring data in the same run is offset by the same
|
|
13
|
+
(random) amount. Parameter determines the Gaussian r.m.s.
|
|
14
|
+
short_description: Systematic common variations of pedestals.
|
|
15
|
+
data:
|
|
16
|
+
- type: double
|
|
17
|
+
description: |-
|
|
18
|
+
Systematic common variations of pedestals.
|
|
19
|
+
(for high-gain channel in case of dual-readout chain).
|
|
20
|
+
unit: count
|
|
21
|
+
default: 0.04
|
|
22
|
+
allowed_range:
|
|
23
|
+
min: 0.0
|
|
24
|
+
instrument:
|
|
25
|
+
class: Camera
|
|
26
|
+
type:
|
|
27
|
+
- LSTN
|
|
28
|
+
- LSTS
|
|
29
|
+
- MSTN
|
|
30
|
+
- MSTS
|
|
31
|
+
- SSTS
|
|
32
|
+
- SCTS
|
|
33
|
+
activity:
|
|
34
|
+
setting:
|
|
35
|
+
- SetParameterFromExternal
|
|
36
|
+
validation:
|
|
37
|
+
- ValidateParameterByExpert
|
|
38
|
+
- ValidatePedestalEvents
|
|
39
|
+
source:
|
|
40
|
+
- Observation execution
|
|
41
|
+
simulation_software:
|
|
42
|
+
- name: sim_telarray
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
%YAML 1.2
|
|
2
|
+
---
|
|
3
|
+
title: Schema for fadc_var_pedestal 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: fadc_var_pedestal
|
|
9
|
+
description: |-
|
|
10
|
+
Channel-to-channel (or pixel-to-pixel) variation of the pedestal per FADC
|
|
11
|
+
time slice. Value is the r.m.s. of the randomly chosen pedestal values
|
|
12
|
+
around the FADC pedestal
|
|
13
|
+
(for high-gain channel for dual-gain readout.
|
|
14
|
+
data:
|
|
15
|
+
- type: double
|
|
16
|
+
description: |-
|
|
17
|
+
Pedestal variations
|
|
18
|
+
(for high-gain channel in case of dual-readout chain).
|
|
19
|
+
unit: count
|
|
20
|
+
default: 0.75
|
|
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
|
+
- ValidatePedestalEvents
|
|
38
|
+
source:
|
|
39
|
+
- Calibration
|
|
40
|
+
simulation_software:
|
|
41
|
+
- name: sim_telarray
|