Thanks Andy,
I eliminated the other zscore script. However, I still cannot view the normalization. The error message that comes up is:
Error in ea_show_normalization (line 86)
pt.img=(pt.img-min(pt.img(:)))/(max(pt.img(:)));
Error in ea_autocoord (line 124)
ea_show_normalization(options);
Error in ea_run (line 95)
ea_autocoord(options);
Error in lead_dbs>run_button_Callback (line 250)
ea_run(‘run’,options);
Error in gui_mainfcn (line 96)
feval(varargin{:});
Error in lead_dbs (line 43)
gui_mainfcn(gui_State, varargin{:});
Error in @(hObject,eventdata)lead_dbs(‘run_button_Callback’,hObject,eventdata,guidata(hObject))
Error while evaluating uicontrol Callback
I am able to proceed to the next step to “pre-construct” and “localize DBS electrodes”. The localization is way off however — it places the electrode in the cortex. The co-registration looks fine in SPM when I use the T1 SPGR image but not when I use my lower resolution T2 image. I appreciate your help.
Best,
Katherine