Hi,
I’m trying to use Osprey to process some unedited MRS data (SIEMENS twix format) and I’m having some issues. When I run run >> MRS = RunOspreyJob(‘jobfile.m’) I get the following :
Timestamp August 23, 2024 17:01:58 Osprey 2.6.6
Timestamp August 23, 2024 17:01:58 Osprey 2.6.6 OspreyLoad
Loading raw data from dataset 1 out of 1 total datasets…
Software version: VD (!?)
Scan 1/2, read all mdhs:
35.3 MB read in 0 s
Scan 2/2, read all mdhs:
4.2 MB read in 0 sans =
0
multi RAID file detected.
No integrated water reference data found. Returning empty field… done.
Elapsed time 2.239790 seconds
Timestamp August 23, 2024 17:02:00 Osprey 2.6.6 OspreyProcess
Processing data from dataset 1 out of 1 total datasets…
Index exceeds the number of array elements. Index must not exceed 0.Error in osp_XReferencing (line 89)
HWHM=abs(tempx(gtHalfMax(1)) - tempx(gtHalfMax(end)))/2 * 0.8;Error in op_preref (line 176)
[refShift, ~] = osp_XReferencing(temp_spec,frequencies,polarity,lim,0);% determine frequency shiftError in OspreyProcess (line 248)
[refShift_ind_ini]=op_preref(raw,seq);Error in RunOspreyJob (line 32)
MRSCont = OspreyProcess(MRSCont);
I was curious, so I commented out everything except OspreyLoad and wanted to look at the PDF it produces, because OspreyLoad should at least produce a spectra, right?
So the PDF is completely empty, which isn’t great, and I’m also wondering why this happens.
Here’s an example data file (with the anonymising script applied) : Dropbox
and the job file I used :
Dropbox
Any help or advice would be appreciated.