imr-framework / mrf

An end to end, vendor neutral MRF package
GNU Affero General Public License v3.0
31 stars 11 forks source link

two problems when running the demo #8

Open Kangkang0110 opened 8 months ago

Kangkang0110 commented 8 months ago

1. Describe the bug Running the code "demo_MRF.m" directly will report an error as follows. Screenshots 微信图片_20240317105110

2. Describe the bug On Siemens interpret, running the .seq generated from the demo code will report an error in the sixth block (ADC), indicating that the time calculation is wrong. I have checked this reason and found that it was because the time of this block in pulseq was shorter than the ADC duration calculated. Even if I set the adcleadtime to 10us in the Pulseq code at the beginning, it was useless. Screenshots 微信图片_20240317110115

Desktop (please complete the following information):

Additional context I hope the author can help me check the reasons for the above two problems.Thank you.

nasim147 commented 3 months ago

Hello, I have the same issue in part 1. Although a sequence file .seq is generated, there is an assertion error when writing. Ignoring that and running it in IDEA cannot switch to the external sequence. It tells me the combination of parameters is not acceptable. When I increase the slice thickness, the assertion error goes away, and POET can switch to it, but the simulation is incorrect. (PS I had to increase the slice thickness from 5e-3 to a minimum of 80e-3). Also, I could not find the .mat file called method_orig_147 written in the script. Instead I used method_orig that comes in the package. I appreciate any input that can help us solve these issues.

Thanks Nasim

dty00 commented 3 months ago

I also have the same problem, I tried windows, linux and MacOS. Also I have a problem about the MIRT package, once I load the MIRT package, there will be error like these

Error in size (line 5)
dim = ob.dims;

Error in matlab.internal.editor.figure.FigureUtils.isEditorFigure

Error in matlab.internal.editor.FigureManager.isEditorFigure

Error in matlab.internal.editor.FigureManager.closeAllEditorFigures

Error in matlab.internal.editor.EvaluationOutputsService.cleanup

Unrecognized method, property, or field 'dims' for class 'message.internal.Subscription'.

Error in size (line 5)
dim = ob.dims;

Error in message.internal.executeCallback

Unrecognized method, property, or field 'dims' for class 'message.internal.Subscription'.

Error in size (line 5)
dim = ob.dims;

Error in message.internal.executeCallback

Thanks Tianyi