We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 310e916 commit b59bc01Copy full SHA for b59bc01
niftypet/nipet/prj/mmrrec.py
@@ -506,9 +506,12 @@ def osemone(datain, mumaps, hst, scanner_params, recmod=3, itr=4, fwhm=0., psf=N
506
# recout.im = im
507
# recout.fpet = fout
508
509
- if ret_sinos and recmod >= 3 and itr > 1:
+ if ret_sinos and recmod==3 and itr > 1:
510
RecOut = namedtuple('RecOut', 'im, fpet, imsmo, fsmo, affine, ssn, sssr, amsk, rsn')
511
recout = RecOut(im, fpet, im_smo, fsmo, B, ssn, sct['ssrb'], sct['mask'], rsino)
512
+ elif ret_sinos and recmod==4 and itr > 1:
513
+ RecOut = namedtuple('RecOut', 'im, fpet, imsmo, fsmo, affine, ssn, rsn')
514
+ recout = RecOut(im, fpet, im_smo, fsmo, B, ssn, rsino)
515
else:
516
RecOut = namedtuple('RecOut', 'im, fpet, imsmo, fsmo, affine')
517
recout = RecOut(im, fpet, im_smo, fsmo, B)
0 commit comments