Download presentation
Presentation is loading. Please wait.
Published byGeorgiana Page Modified over 9 years ago
1
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 1 Artifact processing and ERP analysis Task 1 Reject bad channels Task 2 Reject continuous data Task 3 Reject data epochs Task 4 Analysis of channel ERPs Exercise...
2
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 2 The example data: faces vs. objects File../data/faces_3.set Data 33 channel EEG, nose-tip reference, 250 Hz sampling rate, 0.5-100 Hz, 16 bit, BrainAmps Task speeded discrimination between objects and faces, 500 ms presentation duration, ISI 500-1900 ms, 362 trials
3
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 3 Artifact processing and ERP analysis Task 1 Reject bad channels Task 2 Reject continuous data Task 3 Reject data epochs Task 4 Analysis of channel ERPs Exercise...
4
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 4 Reject bad channels >> EEG = pop_loadset('faces_3.set', '...\data\'); >> [ALLEEG EEG CURRENTSET] = eeg_store(ALLEEG, EEG, 0);
5
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 5 Reject bad channels >> pop_eegplot(EEG, 1, 1, 1);
6
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 6 Reject bad channels EEG = pop_select(EEG, 'nochannel', [19 24]);
7
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 7 Reject bad channels
8
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 8 Artifact processing and ERP analysis Task 1 Reject bad channels Task 2 Reject continuous data Task 3 Reject data epochs Task 4 Analysis of channel ERPs Exercise...
9
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 9 Reject continuous data Equivalent!!
10
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 10 Reject continuous data TIP: use ICA for eye blink correction
11
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 11 Reject continuous data To prepare data for ICA, reject odd artifacts and keep stereotyped artifacts Eye blinkstrange
12
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 12 Artifact processing and ERP analysis Task 1 Reject bad channels Task 2 Reject continuous data Task 3 Reject data epochs Task 4 Analysis of channel ERPs Exercise...
13
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 13 Extract Epochs (review)
14
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 14 Extract Epochs (review) >> EEG = pop_epoch(EEG,{'face' 'object'},[-1 2],... 'newname','faces_3_chans removed epochs',... 'epochinfo','yes'); >> [ALLEEG EEG CURRENTSET] = pop_newset(ALLEEG,EEG,... CURRENTSET,'setname',' 'faces_3_chans removed epochs ');
15
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 15 Reject data epochs
16
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 16 Reject data epochs visual inspection probability
17
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 17 Reject data epochs Probability (± 5 stds) Visual inspection
18
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 18 Reject data epochs
19
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 19 Reject data epochs
20
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 20 Reject data epochs >> EEG = pop_jointprob(EEG,1,[1:31],5,5,0,0); >> EEG = pop_rejepoch(EEG,find(EEG.reject.rejglobal),0);
21
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 21 Artifact processing and ERP analysis Task 1 Reject bad channels Task 2 Reject continuous data Task 3 Reject data epochs Task 4 Analysis of channel ERPs Exercise...
22
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 22 Analysis of ERPs Create separate data sets for face and object trials >> EEG=pop_selectevent(EEG,'type',{'face'},'deleteevents',... 'off','deleteepochs','on'); >> [ALLEEG EEG CURRENTSET]=pop_newset(ALLEEG,EEG,4,... 'setname','faces only epochs');
23
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 23 Analysis of ERPs Select only 'face' epochs: create a new dataset
24
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 24 Analysis of ERPs >> [EEG,ALLEEG,CURRENTSET]=pop_newset(ALLEEG,EEG,4,... 'retrieve',3,'study',0); >> EEG=pop_selectevent(EEG,'type',{'object'},'deleteevents',... 'off','deleteepochs','on'); >> [ALLEEG EEG CURRENTSET]=pop_newset(ALLEEG,EEG,5,... 'setname','object only epochs'); Do the same thing for 'object' epochs
25
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 25 Analysis of ERPs >> pop_timtopo(EEG,[-200 796],[165],'ERP data and scalp maps');
26
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 26 Analysis of ERPs
27
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 27 Analysis of ERPs >>pop_topoplot(EEG,1,[0:25:200],'face',[3 3],0,'electrodes','off');
28
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 28 Analysis of ERPs >>pop_headplot(EEG,1,[0:25:200],'ERP scalp maps',[3 3],... 'electrodes', 'off');
29
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 29 Analysis of ERPs >>pop_comperp(ALLEEG,1,[4 5],[],'addavg','off','addstd','off',... 'addall','on','diffavg','off','diffstd','off','lowpass',20,... 'tplotopt',{'ydir',-1}); 4 5
30
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 30 4 5 Analysis of ERPs ERP difference between 2 conditions
31
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 31 Analysis of ERPs >> pop_export(EEG,'D:\tmp\faces.dat','erp','on',... 'transpose','on','time','off');
32
EEGLAB Workshop III, Nov. 15-18, 2005, Singapore: Julie Onton – Artifact processing and ERP analysis 32 Exercise Load dataset 'faces_3.set' from '…/data/' directory Reject noisy channels (optional: reject continuous data stretches) Epoch dataset on all 'face' and 'object' events Explore 1 or more of the following: Reject noisy epochs by hand or use auto-rejection Compare rejection methods and thresholds Select 'face' and 'object' epochs separately Plot ERPs superimposed ERP envelopes rectangular/scalp array Compare 'face' vs 'object' ERPs Export 'face' ERPs into an ascii file
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.