Skip to content

Commit

Permalink
fixing annotate
Browse files Browse the repository at this point in the history
  • Loading branch information
cecilia-ferrari committed Jan 23, 2024
1 parent e0c9a9e commit 26f09e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flamedisx/lxe_blocks/raw_signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def _simulate(self, d):
def _annotate(self, d):
m = self.gimme_numpy(self.quanta_name + '_gain_mean')
if self.quanta_name == 'electron':
m *= self.gimme_numpy('geometrical_acceptance',d['s2_raw'].values/m)
m *= self.gimme_numpy('geometrical_acceptance',d['s2_raw_mle'].values/m)
s = self.gimme_numpy(self.quanta_name + '_gain_std')

mle = d[self.quanta_name + 's_detected_mle'] = \
Expand Down

0 comments on commit 26f09e2

Please sign in to comment.