STIR
STIR copied to clipboard
TOF loop missing for Hessian computation
PoissonLogLikelihoodWithLinearModelForMeanAndProjData::actual_add_multiplication_with_approximate_sub_Hessian_without_penalty and other Hessian function don't loop over TOF data
Is this as simple as updating the relevant lines to use the ViewgramIndices (https://github.com/UCL/STIR/pull/1273), e.g.
https://github.com/UCL/STIR/blob/75a9342157e59db6d43a968fa48f7d8c951853fb/src/recon_buildblock/PoissonLogLikelihoodWithLinearModelForMeanAndProjData.cxx#L949C49-L961
@gschramm, this is going to create trouble...
Actually, the list-mode Hessian should be fine.
@KrisThielemans and I am using non-TOF mMR data from the examples ;)
But good to keep that in mind and maybe warn people.
- another reason to use
torch.autograd.gradcheckto verify custom layers ...
@gschramm I fixed this now.