-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add TOF mashing to SSRB #1397
Comments
Hello Kris, thanks for the detailed instructions! I've implemented them (as best as I could) here, but I have a few questions/remarks (normalisation is currently incorrect, I've not touched that yet). The code compiles and I have used it on some 3D Vision TOF data to get 2D Vision TOF data out. That "worked" (at least the output dimensions are correct, no further testing performed so far), with the following command: Now I'm having trouble to call the command such that it tries to combine TOF bins. From this here:
I thought that Other thoughts:
Thank you! |
great! Looks like you will need to adjust the utility as well, i.e. here and usage message etc.
At present, the output number of TOF bins need to be odd, but @danieldeidda is addressing that in #1334 . I wouldn't put any checks in here, except for saying that it needs to divide (e.g.
yes, the above check could handle that, but likely it needs another one like |
Some pointers to enable this.
The
ProjDataInfo
code:STIR/src/buildblock/SSRB.cxx
Lines 50 to 51 in 8ced2d7
STIR/src/buildblock/SSRB.cxx
Lines 134 to 140 in 8ced2d7
The actual rebinning code:
num_tof_bins_to_combine
like for viewsin
andout_timing_pos_num
in various places when constructing the sinosout_timing_pos_num
herein_timing_pos_num
herenum_tof_bins_to_combine
in the normalisation stepSTIR/src/buildblock/SSRB.cxx
Line 277 in 8ced2d7
The text was updated successfully, but these errors were encountered: