-
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
ring-diff arrays are not set appropriately for blocksoncylindrical #1054
Comments
This can be closed, right? |
I think so, but cannot check at the moment. @danieldeidda do you remember? |
not sure, the comments say that this was going to be done in another PR but there was no error related to this as that change was reverted |
This was about the initialisation of STIR/src/buildblock/ProjDataInfoCylindrical.cxx Lines 291 to 293 in 4142d59
m_offset is unsafe for a blocks/generic scanner (due to irregular sampling). I believe that the end result of the calculation would still be fine, but this would need to be checked.
For instance for span=1 (which is currently used for blocks/generic), |
This was tested for the NeuroLF scanner geometry, and the function indeed returns the correct results: for seg=5 and axial_pos=5 it returns 5 and 10, and for seg=2 and axial_pos=14 it returns 14 and 16. |
See comments in #1006, e.g. #1006 (comment)_
The text was updated successfully, but these errors were encountered: