Well, I managed to proces the fiels at least. On attempting to model (fit) the data I then get these errors:
Index in position 3 exceeds array bounds. Index must not exceed 3.
Error in osp_plotFit (line 179)
basisSet = MRSCont.fit.resBasisSet.([which_spec]).([ânp_sw_â num2str(round(dataToPlot.sz(1))) â_â num2str(round(dataToPlot.spectralwidth))]){VoxelIndex(3),1,VoxelIndex(2)};
Error in osp_iniFitWindow (line 670)
temp = osp_plotFit(MRSCont, gui.controls.Selected,gui.fit.Style,[gui.controls.act_x gui.controls.act_y gui.controls.act_z],gui.fit.Names{t});
Error in osp_onFit (line 103)
osp_iniFitWindow(gui);
Error while evaluating UIControl Callback.
It seems to be more an error in the display. If I use the arrows to shuffle through the different subspectra fits, a popup window appears for each one, and the fits look reasonable. However, while the GUI allows me to then do the coregistration and segmentation steps, it wonât allow me to quantify - probably because somehting went wrong with the modeling of the data? A Bug? Or user error?
The job file is below:
{
âseqTypeâ: âHERMESâ,
âeditTargetâ: [âGABAâ,âGSHâ],
âdataScenarioâ: âinvivoâ,
âMM3coModelâ: â3to2MMâ,
âFWHMMM3coâ: ââ,
âSpecRegâ: âRobSpecRegâ,
âSubSpecAlignmentâ: âL2Normâ,
âUnstableWaterâ: â0â,
âsaveLCMâ: â1â,
âsavejMRUIâ: â1â,
âsaveVendorâ: â0â,
âsaveNIIâ: â0â,
âsavePDFâ: â0â,
âmethodâ: âOspreyâ,
âECCmetabâ: â0â,
âECCmmâ: â0â,
âincludeMetabsâ: [âdefaultâ],
âstyleâ: âSeparateâ,
âlolim_rangeâ: â0.2â,
âuplim_rangeâ: â4.0â,
âlolim_rangewâ: â2.0â,
âuplim_rangewâ: â7.4â,
âbLineKnotSpaceâ: â0.4â,
âfitMMâ: â1â,
âfilesâ: [â/Users/pss628/Scratch/SS0101/OneDrive_3_30-06-2022/sub-SS0101-01/ses-01/SS0101_01_WIP_HERMES_ACC_3_2_raw_act.SDATâ],
âfiles_refâ: [â/Users/pss628/Scratch/SS0101/OneDrive_3_30-06-2022/sub-SS0101-01/ses-01/SS0101_01_WIP_HERMES_ACC_3_2_raw_ref.SDATâ],
âfiles_niiâ: [â/Users/pss628/Scratch/SS0101/OneDrive_3_30-06-2022/sub-SS0101-01/ses-01/sub-SS0101-01_ses-01_acq-T1W.nii.gzâ],
âfile_statâ: [ââ],
âoutputFolderâ: [â/Users/pss628/Scratch/SS0101/OneDrive_3_30-06-2022/sub-SS0101-01/ses-01â]
}