Hi everyone, I’m a student who is new to MRS analysis in general and I am trying to read siemens .rda file with the SiemensRead.m code I am getting following error:
Not enough input arguments.
Error in SiemensRead (line 99)
MRS_struct.p.VoI_InPlaneRot(MRS_struct.ii)
Welcome to the world of MRS, and thanks for using Gannet!
The first thing to ask is whether you are using the latest version of Gannet. The second is if you are loading your data according to the instructions on the Gannet documentation website.
Additionally, I would highly advise you not to use the .rda format. If you can, re-export your data from your scanner in the .dat (TWIX) format, as this will allow for better data processing.
Hi,
Thanks for your quick response. I have tried from the latest version of Gannet again. However, I am getting the following different error:
Warning: The Siemens .rda format is NOT recommended for
use in Gannet. If possible, please re-export your data
in the TWIX (.dat) format.
Unrecognized field name “spec”.
Error in GannetFit (line 40)
freq = MRS_struct.spec.freq;
Error in SiemensRead (line 4)
MRS_struct = GannetFit(MRS_struct);
I am trying to read multivoxel rda data. Could this error occur because of using multivoxel data instead of single voxel. Does Gannet support multivoxel data?