fill_negative¶
-
ompy.
fill_negative
(matrix, window_size)[source]¶ Fill negative channels with positive counts from neighbouring channels
The MAMA routine for this is very complicated. It seems to basically use a sliding window along the Eg axis, given by the FWHM, to look for neighbouring bins with lots of counts and then take some counts from there. Can we do something similar in an easy way?