How do I fix/find this error when using OSPREY?

I'm trying to us OSPREY to process MRS data, I get through the steps "load data" and "process data" but I keep getting this error when I try to move on to "model data" step.
Reference to non-existent field 'np_sw_2048_2999.4001'.
Error in osp_plotModule (line 426)
basisSet = MRSCont.fit.resBasisSet.(which).(['np_sw_' num2str(MRSCont.processed.metab{kk}.sz(1)) '_'
num2str(MRSCont.processed.metab{kk}.spectralwidth)]){basis,1,subspectrum};
Error in osp_plotAllPDF (line 76)
osp_plotModule(MRSCont, 'OspreyFit', kk,[bb ss], Names{mm});
Error in OspreyFit (line 235)
osp_plotAllPDF(MRSCont, 'OspreyFit');
Error in osp_onFit (line 35)
MRSCont = OspreyFit(MRSCont);
Error while evaluating UIControl Callback.

1 Comment

This could be due to a mismatch in the field name or an error in the data processing steps leading up to the modeling phase. Check the data processing steps, ensure correct field names are used, and verify data integrity before proceeding to the modeling stage in OSPREY.

Sign in to comment.

Answers (0)

Products

Release

R2018b

Asked:

sr
on 21 Jun 2024

Commented:

on 22 Jun 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!