Commit 8e9dc9b5 authored by Amit Goldenberg's avatar Amit Goldenberg

added the analysis file

parent 5a58744d
......@@ -154,7 +154,7 @@ while do.ica == 1
% WE are conducting high pass but the high pass destroys the
% strength of the amplitue so we are just doing that in order to
% get the ICA (which resuires high pass filtering)
EEG = pop_eegfiltnew(EEG, [], 1, 3300, 1, [], 0); % half-amplitude at 0.75 Hz, transition band edge at 1 Hz % filter the training data at 1 Hz highpass
EEG = pop_eegfiltnew(EEG, [], 1, 3300, 1, [], 0); % half-amplitude at 0.75 Hz, transition band edge at 1 Hz % filter the training data at 1 Hz high
[ALLEEG EEG CURRENTSET] = eeg_store(ALLEEG, EEG, CURRENTSET);
EEG = pop_epoch(EEG, {'PIC1', 'PIC3'}, [-1 3], 'epochinfo', 'yes'); %we're definine the segments which will be used for the ICA % extract training epochs
......@@ -184,7 +184,7 @@ while do.epoch == 1;
for s = 1:length(icalist); % we are looking through the ica directory
if ~do.reepoch; if any(strmatch(icalist(s).name, {epochlist(:).name})); continue; end; end % overwrite check
if ~do.reepoch; if any(strmatch(icalist(s).name, {epochlist(:).name})); continue; end; end % overwrite check
ALLEEG = []; EEG = []; CURRENTSET = 1; % clean workspace and load dataset from ICA folder
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment