Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding a function to create a log file and save cloud correction para… #260

Open
wants to merge 9 commits into
base: master
Choose a base branch
from
21 changes: 17 additions & 4 deletions magicctapipe/resources/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -279,9 +279,22 @@ dl2_to_dl3:
source_dec: null # used when the source name cannot be resolved

cloud_correction:
specify_cloud: yes
base_height: "5900. m"
thickness: "1320. m"
vertical_transmission: 1.0
max_gap_lidar_shots: "900 s"
lidar_report_file: "../../resources/lidar_reports_clouds_ST.03.16.yaml"
number_of_layers: 10

additional_lst_cleaning:
picture_thresh: 10
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the purpose of redoing the cleaning is to raise the thresholds by some factor, and the same factor should be applied to LST and MAGIC. So, either the factor is determined automatically in the script (but this can be messy because then one needs to process the simulations for each run even if changes are small, or you specify in the input card only a single multiplication factor and this factor is applied to picture_thresh, boundary_thresh of both MAGIC and LST, and rest of the settings should be taken from default config or from the file itself (at least for MAGIC, because for LST this can be more tricky)

boundary_thresh: 5
keep_isolated_pixels: false
min_number_picture_neighbors: 2

additional_magic_cleaning:
use_time: true
use_sum: true
picture_thresh: 6
boundary_thresh: 3.5
max_time_off: 4.5
max_time_diff: 1.5
find_hotpixels: false
pedestal_type: "from_extractor_rndm"
Loading
Loading