help > RE: Issues with spatial step
Aug 24, 2017  12:08 PM | Sungho Tak - Wellcome Trust Centre for Neuroimaging, UCL
RE: Issues with spatial step
Dear Kelly,

I am very sorry for the late reply.
 
If you still have trouble with the spatial step of SPM for fNIRS toolbox, please upload the files (POS.mat and NIRS.mat).

I would like to look into the files.

Best wishes,

Sungho Originally posted by Kelly Vaughn:
Hello,
I am having trouble with the spatial step of spm_fnirs. I have a 16x16 set-up, but only 42 channels of interest. When I just enter those channels, they are not visible on the POS brain that pops up. I tried to enter all 256 possible channels, and I can now see them on the POS brain. I tried selecting the 42 channels as ROIS, but when I click "specify ROIs" it takes quite a while to open, and when it does open, I get the following error message:

Error using .*
Matrix dimensions must agree.

Error in spm_fnirs_viewer_ch>push_specify_ROI_Callback (line 203)
brain_ch = brain_ch .* mask_ch;
Error in gui_mainfcn (line 95)
feval(varargin{:});
Error in spm_fnirs_viewer_ch (line 26)
gui_mainfcn(gui_State, varargin{:});
Error in
matlab.graphics.internal.figfile.FigFile/read>@(hObject,eventdata)spm_fnirs_viewer_ch('push_specify_ROI_Callback',hObject,eventdata,guidata(hObject))
Error using uiwait (line 81)
Error while evaluating UIControl Callback

I also get that error message if I try selecting ROIs from the smaller 42 channel POS brain. Any suggestions on what is going wrong? Everything else seems to be working fine, but I can't actually view the results because of the issues with this spatial step.

Threaded View

TitleAuthorDate
Kelly Vaughn Apr 9, 2017
RE: Issues with spatial step
Sungho Tak Aug 24, 2017
xiaoyu zhu Aug 25, 2017