Skip to content

Commit

Permalink
Merge pull request #1005 from cta-observatory/srcdep_radmax
Browse files Browse the repository at this point in the history
Add dummy RAD_MAX for source-dependent analysis
  • Loading branch information
rlopezcoto authored Oct 4, 2022
2 parents e252885 + ffa12ad commit 089f641
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions lstchain/tools/lstchain_create_irf_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,12 @@ def start(self):
'deg'
)
else:
# add dummy "RAD_MAX" to adapt to 1D analysis with gammapy>0.20.1
extra_headers["RAD_MAX"] = (
0.1,
'deg'
)

if self.energy_dependent_alpha:
extra_headers["AL_CONT"] = (
self.cuts.alpha_containment,
Expand Down

0 comments on commit 089f641

Please sign in to comment.