STIR python example extracting a 2D sinogram from a fully 3D dataset #1024
robbietuk
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have some 3D GE Discovery 690 non-TOF PET data (
my_Prompts.hs
,my_total_additive_5.hs
andmy_multfactors.hs
). I was asked if I could reduce this to 2D for prototyping an algorithm in development. In the following python script, the sinogram from the 0th segment of the 12th ring of the fully3D dataset is copied and saved to interfile as 2D. Practicality this is limited and maybe SSRB is more useful but it is a neat tool imo. 😄I then realised that there is nowhere to post these sort of things so I thought I'd share here as this was not obvious via STIR python.
Beta Was this translation helpful? Give feedback.
All reactions