I was trying to run two participants whose MRS data was in NIfTI-MRS format (converted using spec2nii via BIDScoin) through Osprey, and I encountered this error on the process function:
Timestamp May 17, 2023 10:03:58 Osprey 2.5.0 OspreyProcess Processing data from dataset 1 out of 4 total datasets... Matrix dimensions must agree. Error in op_eccKlose (line 47) out.fids=out.fids.*exp(1i*-inph); Error in OspreyProcess (line 376) [raw,raw_ref] = op_eccKlose(raw, raw_ref); % Klose eddy current correction Error in osp_onProc (line 37) MRSCont = OspreyProcess(MRSCont); Error while evaluating UIControl Callback.
I got the same error when I selected a single roi instead of 2; when I selected a single participant (either participant); both a single roi and participant; and when I ran the analysis using the command line instead of the GUI.
I tried running the same data in Twix format and got the same error. Running the same data but in DICOM format works fine. The NIfTI-MRS files were generated from the individuals’ Twix files so this may indicate the source of the problem?
I was able to run the example Twix data provided with Osprey with no errors. When running the example NIfTI-MRS data I run into issues around the basis sets in the model stage (which I can share if that’d be helpful).
Do you know what the problem might be?