Conversation
|
Try adding Add a |
atan cannot distinguish between opposite sides of the circle, so information was being lost, and all the reconstructed LORs were missing the region of interest.
This helps with live documentation in IDEs.
|
Halving the radii in the phantom, results in In the phantom I have pushed, the body activity is zero, just to be absolutely sure I wasn't accidentally looking at some other images. There are some interesting artefacts in the (completely unrealistic) 20ps TOF images near the bottom of the notebook. I have also pushed a commit to rustpetalo which adds the ability to set the number of events the notebook should read. This is useful if you want to test with G4 runs which generate less than 1 million LOR-containing events, which is the default that Do you want to do any tidying before we merge? |
I agree, I have the same results.
I don't think that is relevant now. The method seems to work for sensible values.
Perfect!
I have removed some commented blocks that I introduced and are not useful anymore. Besides that, I think this is ready for merge now. |
|
The trouble is, I'm not sure what to do with this. It's a proof of concept, but it doesn't really fit in with the 3 or 4 other things I'm working on at the moment. It's a valuable sanity check, so I definitely want to include it, but it's largely in abracadabra's I'll leave it unmerged for now, and tidy it up and find a good home for it once the dust has settled a bit. |
Alternatively, doubling the ROI with |
This PR is a simple (and dirty) way if writing LORs into HDF5. LXe has been replaced by air and only events with 2 gammas will be written. I still need to define a way to pass the output filename in the configuration file.
In any case, I have not been able to read with
petalo_rusta sample file produced with this PR. The HDF5 file can be read without error with different tools (h5ls,hdfview,python), but the rust code shows this error:I have included in a commit the same file I've used. Can you check if you can run the rust code with this file?