help > Read data errors
Showing 1-2 of 2 posts
Display:
Results per page:
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
May 19, 2023  12:05 PM | Daina Crafa
RE: Read data errors
I am having the same problem. Did you find a solution?