Skip to content

Commit

Permalink
swap sign of TOF bin for GE HDF5
Browse files Browse the repository at this point in the history
Images are now fine.
  • Loading branch information
KrisThielemans committed Jan 12, 2024
1 parent d8a8826 commit 6f55f95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/include/stir/listmode/CListRecordGEHDF5.h
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ namespace RDF_HDF5 {

inline int get_tof_bin() const
{
return static_cast<int>(deltaTime);
return static_cast<int>(-deltaTime);
}
#if STIRIsNativeByteOrderBigEndian
// Do byteswapping first before using this bit field.
Expand Down

0 comments on commit 6f55f95

Please sign in to comment.