-
Notifications
You must be signed in to change notification settings - Fork 29
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
MR SIRF-exercise fails with "non-empty container" after preprocessing #1237
Comments
Weirdly, the examples do work. I didn't check if the code is the same or not. For instance, this worked (i.e. no crashes and plots looked reasonable)
|
This is the same as #948, which we closed as it didn't occur anymore. |
The examples use mr_acq = mr.AcquisitionData(os.path.join(examples_data_path('MR'),'simulated_MR_2D_cartesian.h5 while the notebook uses mr_acq = mr.AcquisitionData(os.path.join(examples_data_path('MR'),'grappa2_1rep.h5')) Using the former makes the notebook work ok. |
@DANAJK @ckolbPTB @evgueni-ovtchinnikov any ideas? Is there anything wrong with the example grappa data? |
I guess the problem is that the labels of the acquisition does not fit to our current default flag settings. Is |
Checking
Relevant code is https://github.com/SyneRBI/tools/blob/master/gen_us_data.m. |
The notebook I just saw uses 'ptb_resolutionphantom_GRAPPA4_ismrmrd.h5' ...? I don't remember exactly what I did 6 years ago, but I probably ran the MATLAB function with two different settings and saved the output h5 files (which have since been renamed). This code also uses ISMRMRD MATLAB classes and would have been run with those available at the time. |
https://github.com/SyneRBI/SIRF-Exercises/blob/master/notebooks/Introductory/acquisition_model_mr_pet_ct.ipynb uses the file I mentioned above. I cannot point to a line number for a notebook sadly. Could be ISMRMRD version then of course. If we're not too worried about this, then I think best course of action is:
Ok? |
Yes, OK. |
Here are the occurences in current SIRF
|
The original data was created with an old ISMRMRD and it no longer seems to work. See SyneRBI/SIRF#1237
PR SyneRBI/SIRF-Exercises#214 works fine. However, using the MR data for gradient descent doesn't converge in the current implementation. Example with "relative step size" Not sure if this is data related. @ckolbPTB @DANAJK do you know? If not, we probably need to create an issue on SIRF-Exercises. It's probably due to the choice of "relative" step-size. |
The original data was created with an old ISMRMRD and it no longer seems to work. See SyneRBI/SIRF#1237
I have tried to regenerate the h5 files using more modern ISMRMRD MATLAB code. The files can be found here |
Using code in SyneRBI/SIRF-Exercises#218, I no longer have oscillations when i set I suggest we close this issue as there is no longer a problem with the preprocessing. |
I tried acquisition_model_mr_pet_ct.ipynb (on a new VM, so maybe there's something wrong with that). It fails.
gives
The CSM calculation then fails as the preprocessed data is empty.
@ckolbPTB any idea? Is it my VM?
The text was updated successfully, but these errors were encountered: