Skip to content
Snippets Groups Projects
Commit e3568bfc authored by Philipp Oleynik's avatar Philipp Oleynik
Browse files

Argh.

parent 50a84c74
No related branches found
No related tags found
No related merge requests found
......@@ -222,7 +222,7 @@ class Sixs:
if np.isscalar(radiated_energy):
core_floor = int(radiated_energy < self.core_threshold)
else:
core_floor = list(map(int, radiated_energy < self.core_threshold))
core_floor = list(map(int, radiated_energy > self.core_threshold))
return np.maximum(adc_6, core_floor)
......@@ -276,7 +276,7 @@ class Sixs:
adc_8 = self.logbit11to8(adc11=adc_11)
return adc_8 // 4
def classifier_64(self, side6bit, core6bit, sidenum, thlevel = 1):
def classifier_64(self, side6bit, core6bit, sidenum=0, thlevel=1):
"""
:param side6bit:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment