How do I fix/find this error when using OSPREY?
Show older comments
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
Umar
on 22 Jun 2024
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.
Answers (0)
Categories
Find more on Point Cloud Processing in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!