Skip to content

Commit

Permalink
removed commented out lines confusing Codacy
Browse files Browse the repository at this point in the history
  • Loading branch information
evgueni-ovtchinnikov committed Jun 11, 2024
1 parent 4ef1fbb commit 118f4f0
Showing 1 changed file with 0 additions and 24 deletions.
24 changes: 0 additions & 24 deletions src/xSTIR/pSTIR/STIR.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 118f4f0

Please sign in to comment.