Browse Source

gin commit from DESKTOP-1FLVU9O

Modified files: 1
eceboran 3 years ago
parent
commit
7a034d2414
1 changed files with 4 additions and 0 deletions
  1. 4 0
      code_MATLAB/Main_Load_NIX_Data.m

+ 4 - 0
code_MATLAB/Main_Load_NIX_Data.m

@@ -172,6 +172,8 @@ for nSource = 1:dataArray_iEEG.sourceCount
     sourceUnit.sources{1}.name
     % Anatomical location
     sourceUnit.sources{2}.name
+    % Inside/outside SOZ
+    sourceUnit.sources{3}.name
     
     nElectrode = find(strcmpi(cellfun(@(x) x.name,groupiEEGElecrodes.sources,'UniformOutput',0),sourceUnit.name));
     % MNI coordinates of the electrode
@@ -226,6 +228,8 @@ else
     sourceUnit.sources{1}.name
     % Anatomical location
     sourceUnit.sources{2}.name
+    % Inside/outside SOZ
+    sourceUnit.sources{3}.name
     
     %% Use electrode map to get properties of the macroelectrode the unit is on
     nElectrode = find(strcmpi(cellfun(@(x) x.name,groupiEEGElecrodes.sources,'UniformOutput',0),sourceUnit.name));