-
Notifications
You must be signed in to change notification settings - Fork 2
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
Nema data preparation #3
Conversation
- introduce a Python function to fix the EOL problems in Siemens .n.hdr files - some renaming and clean-up
still very clunky
thanks. this will have to be converted to a function, such that we can run it on other data that we get (i.e. most of it should not be NEMA specific). It would make most sense if there is some diagnostics written to a logfile (although that could be handled by just redirecting output). I think we need output files in 2 directories:
we also need a "quick reconstruction OSEM" at the end, with output images save in the "final" dir as Interfile, and 3 pngs (transverse, sagittal, coronal, all 3 middle slices) in the "other" directory for a quick visual check that all went fine. Unfortunately, OSEM settings will be scanner dependent (also for the scatter by the way), but ok to hardwire 21 subsets, 21 updates, for the mMR for now. |
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.
- remove
old/*
files - create separate script
download_Siemens_mMR_NEMA_IQ
to download/mMR_NEMA_IQ- download from zenodo
- copy
mMR_template_span11.hs
fromsirf_data_path = os.path.join(examples_data_path('PET'), 'mMR')
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.
Final clean-up in comments. Also, please do move src/SIRF_data_preparation/prepare_data.py
to src/SIRF_data_preparation/prepare_mMR_NEMA_IQ_data.py
this wasn't done yet. |
85e2ace
to
eed0f60
Compare
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 more gremlins.
Also still need to rename the prepare_data.py
don't merge!
Likely this code will go into SIRF