Skip to content

Commit

Permalink
updating preproc function- anti
Browse files Browse the repository at this point in the history
  • Loading branch information
ShaneMcKeon committed Nov 1, 2024
1 parent d622408 commit afecddd
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 3 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion Preprocessing_Functions/epochlean.m
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@

elseif task == "anti"

EEG = pop_epoch( EEG, {'1' '2' '3'}, [0 0.5], 'newname', [currentName '_epochs'], 'epochinfo', 'yes');
EEG = pop_epoch( EEG, {'2'}, [-0.1 2], 'newname', [currentName '_epochs'], 'epochinfo', 'yes');


end
Expand Down
5 changes: 3 additions & 2 deletions Preprocessing_Functions/run_preprocessing_pipeline.m
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,12 @@

revisar = {};
for currentEEG = 1:size(EEGfileNames,1)
if currentEEG == 59 || currentEEG == 97 || currentEEG == 115 || currentEEG == 127 || currentEEG == 195 || currentEEG == 284 || currentEEG == 289% skipping error participants for now
continue
end
filename = [EEGfileNames(currentEEG).name];
inputfile = [epoch_path,filename];
revisar{currentEEG} = epochlean(inputfile,epoch_folder,epoch_rj_marked_folder,task,taskdirectory);
end
end



0 comments on commit afecddd

Please sign in to comment.