Skip to content

Transforms data from GATE (list mode of events) to SAFIR format

Notifications You must be signed in to change notification settings

rshopa/listmode-to-safir

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Converting list mode of events to STIR (interfile) sinograms

This implementation concerns data, simulated in GATE for the cylindrical scanner in the framework of Jagiellonian Positron Emission Tomography (J-PET) project.

Prerequisites

Simple build:

$ cd /directory-with-repository-files/src/
$ mkdir -p build
$ cd build
$ cmake ../
$ make
$ export PATH=$PWD:$PATH

This will compile two bash executables:

  • GenerateCrystalMapJPET – generates file for mapping Cartesian coordinates to IDs of rings and detectors according to scanner geometry.
  • ConvertToMUPET – converts ASCII list mode data from GATE simulation into MUPET binary format (with big endian order).

Example of usage

(requires JPETGeometry.par – file containing J-PET geometry parameters.):

$ cd ../../input
$ GenerateCrystalMapJPET -p JPETGeometry.par -o ../crystal_map_jpet.txt
$ ConvertToMUPET -i PSF_384strips_x10_y0_z0 -p JPETGeometry.par -o ../output_x10y0z0.clm.safir

About

Transforms data from GATE (list mode of events) to SAFIR format

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published