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)
Error in gui_mainfcn (line 95)
Error in spm_fnirs (line 25)
gui_mainfcn(gui_State, varargin{:});
Error in>@(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,