From ddb315f74eed483fd6817e1c7e6ddfd7797e16ec Mon Sep 17 00:00:00 2001
From: Pawel Markiewicz
Date: Tue, 7 May 2024 20:46:38 +0100
Subject: [PATCH] fixed bug for spna-3 projector
---
niftypet/nipet/prj_inv/prj_inv.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/niftypet/nipet/prj_inv/prj_inv.py b/niftypet/nipet/prj_inv/prj_inv.py
index ad3538b2..1e27bcaa 100644
--- a/niftypet/nipet/prj_inv/prj_inv.py
+++ b/niftypet/nipet/prj_inv/prj_inv.py
@@ -77,8 +77,8 @@ def frwd_prj(im, scanner_params, isub=ISUB_DEFAULT, dev_out=False, attenuation=F
# number of sinos in span-1
nsinos = NRNG_c**2
- elif Cnt['SPN'] == 2:
- nsinos = Cnt['NSN']
+ elif Cnt['SPN'] == 3:
+ nsinos = Cnt['NSN3']
elif Cnt['SPN'] == 0:
nsinos = Cnt['NSEG0']