STIR icon indicating copy to clipboard operation
STIR copied to clipboard

SPECTUB projector problem when calling set_up() after using it

Open KrisThielemans opened this issue 2 years ago • 2 comments

@samdporter finds that if you call forward_project and then set_up() again, future projections will just be zero. This is despite ProjMatrixByBinSPECTUB::set_up essentially not doing anything if data is compatible https://github.com/UCL/STIR/blob/f69bfc0971280901adda2649bf8fe85ac0583a87/src/recon_buildblock/ProjMatrixByBinSPECTUB.cxx#L250-L257

KrisThielemans avatar Apr 27 '23 19:04 KrisThielemans

@samdporter is this still the case since latest fix?

KrisThielemans avatar Sep 16 '23 18:09 KrisThielemans

The problem is still present - see latest commit to this repo

Please note that this is only true when keep_all_views_in_cache = True

samdporter avatar Sep 19 '23 13:09 samdporter