-
Notifications
You must be signed in to change notification settings - Fork 29
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
list-mode obj_fun.get_subset_sensitivity(0) returns None #1251
Comments
@evgueni-ovtchinnikov wrote in #1253 (comment)
Can you elaborate a bit? |
In STIR.py we have
From what you write it looks like this class should have been derived from |
yes indeed. And it is in STIR. |
yes we do. I have just pushed the corrected STIR.py - let George try it. |
@evgueni-ovtchinnikov @KrisThielemans was the update pushed to the master branch of SIRF? Should I re-run the complete Super-Build with I am have some time for tests this late afternoon / tomorrow morning. |
Not yet merged, no. You'll need to set
you can also try UCL/STIR#1418 by adding
(although TBH I have never tried switch the URL like this in an existing build, so I'm not 100% sure that SIRF will pick up the LM Hessian, but I think it will. Comments in the respective PRs please. |
list-mode obj_fun.get_subset_sensitivity(0) returns None is now fixed (now sure which PR fixed it). for i in range(num_subsets):
assert np.all(np.isclose(lm_obj_fun.get_subset_sensitivity(i).as_array(), obj_fun.get_subset_sensitivity(i).as_array())) If the listmode subsets are based on views (which I remember they should be), everything works as expected. |
Indeed. Listmode subsets currently reproduce those from projection data. Excellent news! |
should be fixed now that PR #1253 is merged |
Example is at https://github.com/gschramm/SIRF-Exercises/blob/a581dc1e72d3cb1ff156ad88c2db770398a28c17/notebooks/Deep_Learning_listmode_PET/01_SIRF_listmode_recon.py#L176
It works fine for the "sinogram" objective function.
Found by @gschramm.
The text was updated successfully, but these errors were encountered: