Skip to content

Commit

Permalink
Use correct selection for background model
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasBeiske committed Jan 13, 2024
1 parent 7c2efc7 commit 643a841
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ctapipe/tools/make_irf.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ def _make_signal_irf_hdus(self, hdus):
return hdus

def _make_background_hdu(self):
sel = self.background_events["selected_gh"]
sel = self.background_events["selected"]
self.log.debug("%d background events selected" % sel.sum())
self.log.debug("%f obs time" % self.obs_time)

Expand Down

0 comments on commit 643a841

Please sign in to comment.