n_top_channels always set to 0
Closed this issue · 0 comments
HenningSE commented
In add_lone_hits
the numba function _add_lone_hits
is called with n_top_channels
always set to 0.
strax/strax/processing/peak_merging.py
Line 196 in 8843247
This line should be changed to
_add_lone_hits(peaks, lone_hits, to_pe, n_top_channels=n_top_channels)
so that the value is properly passed.