STIR
STIR copied to clipboard
Rebuilt `plot_sinogram_profiles.py` for 4D tof data
Changes in this pull request
Built plot_projdata_profiles.py
to replace plot_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
- [] I have performed a self-review of my code
- [] I have added docstrings/doxygen in line with the guidance in the developer guide
- [] I have implemented unit tests that cover any new or modified functionality (if applicable)
- [] The code builds and runs on my machine
- []
documentation/release_XXX.md
has been updated with any functionality change (if applicable)
pytest fails with
ModuleNotFoundError: No module named 'examples'
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 https://github.com/UCL/STIR/issues/1392