From 92495b5039a65fc3ffe9d05274fba5f9ee42637a Mon Sep 17 00:00:00 2001 From: Francois Drielsma Date: Thu, 9 Nov 2023 15:15:53 -0800 Subject: [PATCH] Fixed batch size problem in unwrapper when there's multiple volumes --- analysis/post_processing/pmt/flash_matching.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/analysis/post_processing/pmt/flash_matching.py b/analysis/post_processing/pmt/flash_matching.py index 7f5d63d7..3e37d7d8 100644 --- a/analysis/post_processing/pmt/flash_matching.py +++ b/analysis/post_processing/pmt/flash_matching.py @@ -103,6 +103,6 @@ def process(self, data_dict, result_dict): ii.flash_total_pE = float(flash.TotalPE()) if hasattr(match, 'hypothesis'): ii.flash_hypothesis = float(np.array(match.hypothesis, - dtype=np.float64).sum()) + dtype=np.float32).sum()) return {}, {}