From 118f4f0c659038eeb9bbd9fec3e15f57725bddb6 Mon Sep 17 00:00:00 2001 From: Evgueni Ovtchinnikov Date: Tue, 11 Jun 2024 12:41:20 +0000 Subject: [PATCH] removed commented out lines confusing Codacy --- src/xSTIR/pSTIR/STIR.py | 24 ------------------------ 1 file changed, 24 deletions(-) diff --git a/src/xSTIR/pSTIR/STIR.py b/src/xSTIR/pSTIR/STIR.py index d7a3bd23c..26cd541a5 100644 --- a/src/xSTIR/pSTIR/STIR.py +++ b/src/xSTIR/pSTIR/STIR.py @@ -1604,30 +1604,6 @@ def get_time_at_which_num_prompts_exceeds_threshold(self, threshold): v = pyiutil.floatDataFromHandle(h) pyiutil.deleteDataHandle(h) return v - ''' - def prompts_from_listmode(self, lm_data, start, stop, templ, prefix="prompts"): - """Returns proampts computed from listmode raw data - - """ - assert_validity(lm_data, ListmodeData) - assert_validity(templ, AcquisitionData) - sino = AcquisitionData(templ) - try_calling(pystir.cSTIR_promptsFromListmode(self.handle, lm_data.handle, \ - start, stop, templ.handle, sino.handle, prefix)) - return sino - - def prompts_and_randoms_from_listmode(self, lm_data, start, stop, templ, prefix="prompts"): - """Returns proampts and randoms' estimates computed from listmode raw data - - """ - assert_validity(lm_data, ListmodeData) - assert_validity(templ, AcquisitionData) - sino = AcquisitionData(templ) - rand = AcquisitionData(templ) - try_calling(pystir.cSTIR_promptsAndRandomsFromListmode(self.handle, lm_data.handle, \ - start, stop, templ.handle, sino.handle, rand.handle, prefix)) - return sino, rand - ''' class AcquisitionSensitivityModel(object):