Skip to content

Commit

Permalink
Update lstchain_create_irf_files.py
Browse files Browse the repository at this point in the history
Redefine the argument scaling-true-energy
  • Loading branch information
deborahDOR authored Jul 4, 2024
1 parent f8614a2 commit a41fa4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lstchain/tools/lstchain_create_irf_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ class IRFFITSWriter(Tool):
> lstchain_create_irf_files
-g /path/to/DL2_MC_gamma_file.h5
-o /path/to/irf.fits.gz
--scaling_true_energy 1.15
--scaling-true-energy 1.15
"""

input_gamma_dl2 = traits.Path(
Expand Down Expand Up @@ -235,7 +235,7 @@ class IRFFITSWriter(Tool):
"global-alpha-cut": "DL3Cuts.global_alpha_cut",
"allowed-tels": "DL3Cuts.allowed_tels",
"overwrite": "IRFFITSWriter.overwrite",
"scale_true_energy": "DataBinning.scale_true_energy"
"scale-true-energy": "DataBinning.scale_true_energy"
}

flags = {
Expand Down

0 comments on commit a41fa4f

Please sign in to comment.