Skip to content

Commit

Permalink
Merge branch 'master' into fix-make_progress_bar_optional
Browse files Browse the repository at this point in the history
  • Loading branch information
HealthyPear authored Jul 20, 2021
2 parents 21f3455 + 2fe78fc commit de588cc
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion protopipe/aux/example_config_files/analysis.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Calibration:
# factor to transform the integrated charges (in ADC counts) into number of
# photoelectrons
# the pixel-wise one calculated by simtelarray is 0.92
calibscale: 0.92
calib_scale: 0.92
apply_integration_correction: false

# Cleaning for reconstruction
Expand Down
6 changes: 6 additions & 0 deletions protopipe/pipeline/event_preparer.py
Original file line number Diff line number Diff line change
Expand Up @@ -779,8 +779,14 @@ def prepare_event(self, source, return_stub=True, save_images=False, debug=False
] = HillasParametersTelescopeFrameContainer()
n_pixel_dict[tel_id] = len(np.where(image_extended > 0)[0])
leakage_dict[tel_id] = leakages

concentrations = {}
concentrations["concentration_cog"] = np.nan
concentrations["concentration_core"] = np.nan
concentrations["concentration_pixel"] = np.nan
concentration_dict[tel_id] = concentrations


# END OF THE CYCLE OVER THE TELESCOPES

# =============================================================
Expand Down

0 comments on commit de588cc

Please sign in to comment.