Skip to content
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

Auto use_tofsens #1458

Merged
merged 5 commits into from
Jun 17, 2024
Merged

Auto use_tofsens #1458

merged 5 commits into from
Jun 17, 2024

Conversation

KrisThielemans
Copy link
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
Contributor

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

Thank you!

@KrisThielemans KrisThielemans merged commit b851be9 into UCL:master Jun 17, 2024
1 check passed
@KrisThielemans KrisThielemans deleted the AutoUseTOFSens branch June 17, 2024 14:00
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