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

PET tests tolerance fixes #844

Merged

Conversation

KrisThielemans
Copy link
Member

Fixes #843

pTest is mostly set-up for comparing with recorded values. However, in many cases,
we know what the value should be, and it is therefore better to make that part of the test.
Aside from being clearer, it makes it also less dependent on where/how the recording
was run.
Copy link
Contributor

@evgueni-ovtchinnikov evgueni-ovtchinnikov left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks fine to me, just one small stylistic suggestion: I would use within_tolerance rather than with_tolerance

@KrisThielemans
Copy link
Member Author

@evgueni-ovtchinnikov Great idea! want to make that change yourself? You should be able to push to this branch (have to add https://github.com/KrisThielemans/SIRF as remote). Or I can do it later. let me know.

@evgueni-ovtchinnikov
Copy link
Contributor

@KrisThielemans: I am fixing #842 at the moment, which will affect your fixes, so will deal with this PR a bit later.

@evgueni-ovtchinnikov evgueni-ovtchinnikov merged commit 2423032 into SyneRBI:master Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PET tests can fail due to accuracy in recorded values
2 participants