help > Read data errors
Jan 23, 2023  03:01 PM | camsan
Read data errors
Hi all, 

I am trying to use the spm fnirs toolbox to analyze fNIRS data obtained with NIRSport2 but I am unable to read and convert the raw data. There is no specific procedure in the manual that shows how to convert NIRSport2 raw data. 

I tried to use the procedure "Conversion of NIRx NIRScout data format to SPM-fNIRS data format" by using the .wl1 , .wl2 and .hdr files but I run into the following error: 

Not enough input arguments.

Error in spm_fnirs_convert_ui (line 90)
if ~isfield(P.fname.raw, 'type')
Error in spm_fnirs>push_convert_Callback (line 58)
spm_fnirs_convert_ui;
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in spm_fnirs (line 25)
gui_mainfcn(gui_State, varargin{:});
Error in matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)spm_fnirs('push_convert_Callback',hObject,eventdata,guidata(hObject))
Error while evaluating UIControl Callback.

Has anyone experienced the same problem? Is there another way to convert the data?

Thank you, 
Best,
Cam

Threaded View

TitleAuthorDate
Read data errors
camsan Jan 23, 2023
Daina Crafa May 19, 2023