-
Notifications
You must be signed in to change notification settings - Fork 95
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
Rebuilt plot_sinogram_profiles.py
for 4D tof data
#1370
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few usage observations
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm happy with this and would be ok to merge (after an update to release_6.1.htm)
import numpy as np | ||
import pytest | ||
|
||
from examples.python.plot_projdata_profiles import compress_and_extract_1d_from_nd_array |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If this pytest fails, it will likely be here. This worked on my debugger but failed on my CLI, it was probably an enviroment issue.
pytest fails with
Could be solved by adding it to the pythonpath first (would need to be done both for GHA and AppVeyor). Alternatively, we do it better via #1392 |
@robbietuk want to finish this one? I think only needs
I'm hoping to release 6.3 soon, as it has a major bug fix. We could leave this for later if you have no time now. |
Changes in this pull request
Built
plot_projdata_profiles.py
to replaceplot_sinogram_profiles.py
. This allows for TOF data to be handled. I added significant error handling and what I hope is a better user experience. It does break backwards compatabity.I need to add a the ability to read v6.0 STIR projection data.
Testing performed
Include a pytest (commented out)
Related issues
#1363
Checklist before requesting a review
documentation/release_XXX.md
has been updated with any functionality change (if applicable)