blocks on cylindrical geometry still unexpected geometry
KrisThielemans opened this issue · 4 comments
Looks like we don't correctly centre the "bucket" in transaxial direction when there are gaps between blocks. Below are examples wtih 2 blocks/bucket and 1 block/bucket. with the blocks_spacing 20% larger than the block (generated with an improved plot_scanner_LORs.py
, now even better on #1391).
Of course, a gap between trans-blocks if there's only 1 block per trans-bucket makes no sense. We could use this to "shift" blocks, but I can't see why anyone would want to have such a PET scanner, so I don't think we should do this.
I think we should just centre the bucket.
When using the commented code for start_x
as opposed to the csi
stuff at
STIR/src/buildblock/GeometryBlocksOnCylindrical.cxx
Lines 94 to 100 in 0da0f08
is what I expect.
@danieldeidda you made this change in 42bf1e9. Can you remember why?
Yes I agree. The second images are correct. There should a test to ensure this is the case...
@danieldeidda could you have a look at this? @markus-jehl will make a PR
When using the commented code for
start_x
as opposed to thecsi
stuff atSTIR/src/buildblock/GeometryBlocksOnCylindrical.cxx
Lines 94 to 100 in 0da0f08
is what I expect.
@danieldeidda you made this change in 42bf1e9. Can you remember why?
looking back at my drawings I think this was when we had the configuration with first detector at 0 degrees but the calculation of the starting point doesn't seem to make sense for this configuration. Possibly I had used this because of the failing tests, I can't remember very well though.