solve a bug whith binning
This commit is contained in:
@@ -565,8 +565,8 @@ class Galsec(GalsecAnalysis):
|
|||||||
if binning_mode == "delta":
|
if binning_mode == "delta":
|
||||||
delta = bins[name]
|
delta = bins[name]
|
||||||
elif binning_mode == "number":
|
elif binning_mode == "number":
|
||||||
bin_min = filter_bounds[name][0].value
|
bin_min = filter_bounds[name][0]
|
||||||
bin_max = filter_bounds[name][1].value
|
bin_max = filter_bounds[name][1]
|
||||||
delta = (bin_max - bin_min) / bins[name]
|
delta = (bin_max - bin_min) / bins[name]
|
||||||
|
|
||||||
if delta is not None:
|
if delta is not None:
|
||||||
|
|||||||
Reference in New Issue
Block a user