Skip to content

TOF fixes, mostly for GE HDF5 list-mode#1324

Merged
KrisThielemans merged 27 commits intoUCL:masterfrom
KrisThielemans:GEfixes
Jan 12, 2024
Merged

TOF fixes, mostly for GE HDF5 list-mode#1324
KrisThielemans merged 27 commits intoUCL:masterfrom
KrisThielemans:GEfixes

Conversation

@KrisThielemans
Copy link
Collaborator

With this PR, TOF reconstructions of the GE Signa PET/MR of the VQC phantom are fine, addressing most of #1309 (but not yet keeping the TOF dimension when reading projection data from RDF9).

In addition, it fixes #1323 and adds some functionality to list_lm_events to list bin info, and some other minor stuff.

When parsing Interfile headers for projection data and the <tt>originating system</tt>
is not recognised, the previous version of STIR tried to guess the scanner based on the
number of views or rings. This was using very old scanners though, and could lead to
confusion. These guesses have now been removed.
follow same strategy as for other keywords
this was already fine, but setting the TOF mashing to 0 explicitly
makes it clearer
also made sure we have to call set_up() again after changing TOF keywords
use existing read_dataset_int32
use proj_data_info instead
Interfile headers now use use the following keywords:
            number of radionuclides := 1
            radionuclide name[1] := ...
            radionuclide halflife (sec)[1] := ...
            radionuclide branching factor[1] := ...

Previous versions of STIR used `isotope name`. This is still recognised
if `radionuclide name[1]` is not present. Note that
neither versions are confirming to the (very old) Interfile 4.0 proposal.
Previous code was leading to a stack corruption in debug mode,
although I don't understand why. In any case, this is more correct.
@KrisThielemans KrisThielemans added this to the v6.0 milestone Jan 12, 2024
@KrisThielemans
Copy link
Collaborator Author

I'll merge this. things to do on sinograms and the example, but at least major things are fixed, and some of the utilities are useful.

@KrisThielemans KrisThielemans merged commit 7f60df0 into UCL:master Jan 12, 2024
@KrisThielemans KrisThielemans deleted the GEfixes branch January 12, 2024 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Development

Successfully merging this pull request may close these issues.

TOF: compare_projdata doesn't loop over TOF

1 participant