From 723b08c1d27ac7b559eee28c6f3711c38618ee75 Mon Sep 17 00:00:00 2001
From: Pawel Markiewicz
Date: Tue, 7 May 2024 11:28:10 +0100
Subject: [PATCH] bug fix
---
niftypet/nipet/invaux.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/niftypet/nipet/invaux.py b/niftypet/nipet/invaux.py
index 88daa7b2..2629427f 100644
--- a/niftypet/nipet/invaux.py
+++ b/niftypet/nipet/invaux.py
@@ -231,7 +231,8 @@ def axial_lut(Cnt):
# > linear index -> ring indices
li2r = np.zeros((NLI2R,2), dtype=np.int8)
- # > linear index -> sinogram in span-x (default 3) index
+ # > linear index -> sinogram in span-1 and span-x (default 3) index
+ li2sn1 = np.zeros((NLI2R,2), dtype=np.int16)
li2sn = np.zeros((NLI2R,2), dtype=np.int16)
# > linear index -> ring axial position (z) in cm