Skip to content

Commit

Permalink
Merge branch 'master' into trig_events
Browse files Browse the repository at this point in the history
  • Loading branch information
vuillaut authored May 12, 2022
2 parents dc175b0 + 0db3eae commit 126f7b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ctaplot/gammaboard/gammaboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -316,8 +316,8 @@ def load_data(self):
def update_gammaness_cut(self, new_cut):

self.gammaness_cut = new_cut
self.reco_gamma_data = self.gamma_data[self.gamma_data['reco_particle'] >= self.gammaness_cut]
noise_mask = (self.data['true_particle'] != GAMMA_ID) & (self.data['reco_particle'] >= self.gammaness_cut)
self.reco_gamma_data = self.gamma_data[self.gamma_data['reco_gammaness'] >= self.gammaness_cut]
noise_mask = (self.data['true_particle'] != GAMMA_ID) & (self.data['reco_gammaness'] >= self.gammaness_cut)
self.noise_reco_gamma = self.data[noise_mask]

def get_data(self):
Expand Down

0 comments on commit 126f7b7

Please sign in to comment.