SyneRBI / SIRF

Main repository for the CCP SynerBI software
http://www.ccpsynerbi.ac.uk
Other
60 stars 29 forks source link

randoms support for GE Signa #137

Closed KrisThielemans closed 3 years ago

KrisThielemans commented 3 years ago

Relevant STIR code is in https://github.com/UCL/STIR/blob/72ba889720a83314a8f1e258cf65d4bab9483be6/src/utilities/construct_randoms_from_GEsingles.cxx

We will need to make the loop there a function in STIR, such that we can call it from SIRF. It would be nice to do that in the release_4 branch of STIR, such that it will be included in STIR 4.1 (hopefully released soon)

evgueni-ovtchinnikov commented 3 years ago

@KrisThielemans: I understand unsigned int SinglesFromGEHDF5::read_singles_from_file(const std::string& rdf_filename) reads singles from a file in RDF format containing ListModeData - where can I find such a file? Also, will stir::read_from_file<ListModeData> be able to read from it?

KrisThielemans commented 3 years ago

The function actually works with both "sinogram" and "listmode" data in RDF9. The VQC data should have

Note that the randoms in this scan are very low (point sources) so not a great test of it all, but at least you can see if it doesn't fall over... We should soon get more GE PET/MR data from Newcastle, and RDF9 PET/CT from GE.