Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
workshop:ohbm2018:preprocessing [2018/06/14 18:05]
128.176.186.37 [Reading and preprocessing the interesting trials]
workshop:ohbm2018:preprocessing [2018/08/06 10:34] (current)
149.203.254.229 Typo
Line 223: Line 223:
 scale = 10^6; % scale for eeg data micro volts  scale = 10^6; % scale for eeg data micro volts 
  
-signal_EEG = scale*pol*EEG_avg.avg;​ % add signle ​trials in a new value+signal_EEG = scale*pol*EEG_avg.avg;​ % add single ​trials in a new value
  
 % plot single trial together with global mean field power % plot single trial together with global mean field power
Line 241: Line 241:
 scale = 10^6; % scale for eeg data micro volts  scale = 10^6; % scale for eeg data micro volts 
  
-signal_MEG = scale*pol*MEG_avg.avg;​ % add signle ​trials in a new value+signal_MEG = scale*pol*MEG_avg.avg;​ % add single ​trials in a new value
  
 % plot single trial together with global mean field power % plot single trial together with global mean field power
Line 259: Line 259:
 mx = max(max(signal_EEG));​ mx = max(max(signal_EEG));​
 mn = min(min(signal_EEG));​ mn = min(min(signal_EEG));​
-axis([EEG_avg.time(1) EEG_avg.time(end) mn mx]) 
  
 % select time of interest for the source reconstruction later on % select time of interest for the source reconstruction later on
Line 295: Line 294:
 mx = max(max(signal_MEG));​ mx = max(max(signal_MEG));​
 mn = min(min(signal_MEG));​ mn = min(min(signal_MEG));​
-axis([MEG_avg.time(1) MEG_avg.time(end) mn mx]) 
  
 % select time of interest for the source reconstruction later on % select time of interest for the source reconstruction later on