Skip to content

Auto use_tofsens#1458

Merged
KrisThielemans merged 5 commits intoUCL:masterfrom
KrisThielemans:AutoUseTOFSens
Jun 17, 2024
Merged

Auto use_tofsens#1458
KrisThielemans merged 5 commits intoUCL:masterfrom
KrisThielemans:AutoUseTOFSens

Conversation

@KrisThielemans
Copy link
Copy Markdown
Collaborator

Fixes #1456

@NicoleJurjew could you try this PR? I've attempted to generalise it a bit.

We default use_tofsens=false, as this is the best for most scanners. However, for
Siemens Vision 600 (and others), the e7tools norm is TOF. This resulted in a
call to  error().

This update detects if the norm is BinNormalisationFromProjData with TOF data,
and sets use_tofsens=true if it is.
Use the new member to decide if
PoissonLogLikelihoodWithLinearModelForMeanAndProjData
needs to use TOF data for the sensitivity calculation.
@KrisThielemans KrisThielemans added this to the v6.2 milestone Jun 14, 2024
@KrisThielemans KrisThielemans self-assigned this Jun 14, 2024
@NicoleJurjew
Copy link
Copy Markdown
Contributor

Hi Kris, I checked and these changes work for my use-case!

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Development

Successfully merging this pull request may close these issues.

automatically set use-time-of-flight-sensitivities in Poisson...ProjData

2 participants