Skip to content

Commit

Permalink
Revert "Add dummy lone hits for he channel"
Browse files Browse the repository at this point in the history
This reverts commit 4710419.
  • Loading branch information
WenzDaniel committed Aug 17, 2021
1 parent 02eb069 commit 4cbfb3c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions straxen/plugins/peaklet_processing.py
Expand Up @@ -721,10 +721,7 @@ def infer_dtype(self):
return strax.unpack_dtype(self.deps['peaklets_he'].dtype_for('peaklets_he'))

def compute(self, peaklets_he):
# There are not any lone hits for the high energy channel,
# so create a dummy for the compute method.
lone_hits = np.zeros(0, dtype=strax.hit_dtype)
return super().compute(peaklets_he, lone_hits)
return super().compute(peaklets_he)


@export
Expand Down

0 comments on commit 4cbfb3c

Please sign in to comment.