Skip to content

Commit

Permalink
corrected scanner geometry in transaxial plane
Browse files Browse the repository at this point in the history
  • Loading branch information
pjmark committed May 8, 2024
1 parent c7cab2d commit 5b21493
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion niftypet/nipet/invaux.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ def transaxial_lut(Cnt, visualisation=False):
crs = np.zeros((Cnt['NCRS'], 4), dtype=np.float32)

# > phi angle points in the middle and is used for obtaining the normal of detector block
phi = 0.5*pi - Cnt['ALPHA']#- 0.001 #- Cnt['ALPHA']/2
phi = 0.5*pi - Cnt['ALPHA']/2#- 0.001 #- Cnt['ALPHA']/2

Check failure on line 304 in niftypet/nipet/invaux.py

View workflow job for this annotation

GitHub Actions / flake8

[flake8] niftypet/nipet/invaux.py#L304

E262 inline comment should start with '# '
Raw output
niftypet/nipet/invaux.py:304:34: E262 inline comment should start with '# '
for bi in range(Cnt['NTXBLK']):
# > tangent point (ring against detector block)
y = Cnt['R_RING'] * np.sin(phi)
Expand Down

0 comments on commit 5b21493

Please sign in to comment.