Pre-processing for EEG and MEG

Slides:



Advertisements
Similar presentations
Dynamic causal Modelling for evoked responses Stefan Kiebel Wellcome Trust Centre for Neuroimaging UCL.
Advertisements

Clinical Applications of Spectral Analysis Winni Hofman, PhD University of Amsterdam Medcare Amsterdam.
Copyright Compumedics Limited
Filtering Signal Processing.2
Electroencephalogram (EEG) and Event Related Potentials (ERP) Lucy J. Troup 28 th January 2008 CSU Symposium on Imaging.
All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright.
EEG / MEG: Experimental Design & Preprocessing Denisa Jamecna Sofie Meyer (Archy de Berker(
Inverse problem, raw EEG and re-reference From below the surface Dr. E. Tognoli, 25 September 2008 HBBL meeting.
Time-Domain Signals, Filtering, and the Overlap Problem
Brain-computer interfaces: classifying imaginary movements and effects of tDCS Iulia Comşa MRes Computational Neuroscience and Cognitive Robotics Supervisors:
Contrasts & Inference - EEG & MEG Outi Tuomainen & Rimona Weil mfd.
Preprocessing for EEG & MEG
1 Introduction to Inference Confidence Intervals William P. Wattles, Ph.D. Psychology 302.
MEG/EEG Module Trainees Kai Hwang Tina Rasmussen TA Gus Sudre Bronwyn Woods Instructor Bill Eddy, Ph.D. Anna Haridis Thanks to:
All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright.
Principals of Digital Signal Recording. How do we represent a continuously variable signal digitally? Sampling – Sampling rate – number of measurements.
All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright.
Artifact (artefact) reduction in EEG – and a bit of ERP basics CNC, 19 November 2014 Jakob Heinzle Translational Neuromodeling Unit.
EVOKED POTENTIALS NOISE REDUCTION BY ENSEMBLE AVERAGING Chapters (case 2) Seppo Mattila (BRU)
Links Between Action Perception and Action Production in 10-Week-Old Infants Vincent M. Reid 1 and Katharina Kaduk 1 Department of Psychology, Durham University,
Statistical Analysis fMRI Graduate Course October 29, 2003.
Efficiency in Experimental Design Catherine Jones MfD2004.
Electroencephalography The field generated by a patch of cortex can be modeled as a single equivalent dipolar current source with some orientation (assumed.
M/EEG pre-processing Holly Rossiter
EEG/MEG: Experimental Design & Preprocessing Methods for Dummies 28 January 2009 Matthias Gruber Nick Abreu.
Efficiency – practical Get better fMRI results Dummy-in-chief Joel Winston Design matrix and.
General Linear Model & Classical Inference
All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright.
M/EEG pre-processing Vladimir Litvak Wellcome Trust Centre for Neuroimaging UCL Institute of Neurology.
EEG / MEG: Experimental Design & Preprocessing Lena Kästner Thomas Ditye.
ERP DATA ACQUISITION & PREPROCESSING EEG Acquisition: 256 scalp sites; vertex recording reference (Geodesic Sensor Net)..01 Hz to 100 Hz analogue filter;
EEG / MEG: Experimental Design & Preprocessing Alexandra Hopkins Jennifer Jung.
ANOVA Greg C Elvers.
Change blindness and time to consciousness Professor: Liu Student: Ruby.
Pre-processing and the role of horses in the history of M/EEG Vladimir Litvak Wellcome Trust Centre for Neuroimaging UCL Institute of Neurology.
1. 2 Abstract - Two experimental paradigms : - EEG-based system that is able to detect high mental workload in drivers operating under real traffic condition.
Application of non-linear Wavelet De-noising
General Linear Model & Classical Inference London, SPM-M/EEG course May 2014 C. Phillips, Cyclotron Research Centre, ULg, Belgium
Transforming transcendence into trait - An electrophysiological approach: The Model of Mindfulness Meditation Aviva Berkovich Ohana 1, Dr Avi Goldstein.
Functional Brain Signal Processing: EEG & fMRI Lesson 4
All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright.
Chapter 10: Analyzing Experimental Data Inferential statistics are used to determine whether the independent variable had an effect on the dependent variance.
Contrasts & Inference - EEG & MEG Himn Sabir 1. Topics 1 st level analysis 2 nd level analysis Space-Time SPMs Time-frequency analysis Conclusion 2.
fMRI Task Design Robert M. Roth, Ph.D.
Spatial Smoothing and Multiple Comparisons Correction for Dummies Alexa Morcom, Matthew Brett Acknowledgements.
EEG / MEG: Experimental Design & Preprocessing
Machine Learning 5. Parametric Methods.
Principal components analysis (PCA) as a tool for identifying EEG frequency bands: I. Methodological considerations and preliminary findings Jürgen Kayser,
A direct comparison of Geodesic Sensor Net (128-channel) and conventional (30-channel) ERPs in tonal and phonetic oddball tasks Jürgen Kayser, Craig E.
Problems with Variance ©2005 Dr. B. C. Paul. Determining What To Do We have looked at techniques that depend on normally distributed data with variance.
Signal Processing: EEG to ERP A Darren Parker Presentation.
All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright.
Review Statistical inference and test of significance.
Methods for Dummies: Study Design and Pre-processing Tim West & Vanessa Meitanis Hans Berger- Inventor of EEG.
Essentials of Electroencephalography Groundwork Jarrod Blinch May 17 th, 2011 Comprehensive presentation.
Group Analysis Individual Subject Analysis Pre-Processing Post-Processing FMRI Analysis Experiment Design Scanning.
Event-Related Potentials Chap2. Ten Simple Rules for Designing ERP Experiments (2/2) 임원진
김 진 욱 Chap 14. O VERVIEW OF A UDITORY E VOKED P OTENTIALS (3/3)
All slides © S. J. Luck, except as indicated in the notes sections of individual slides Slides may be used for nonprofit educational purposes if this copyright.
General Linear Model & Classical Inference London, SPM-M/EEG course May 2016 Sven Bestmann, Sobell Department, Institute of Neurology, UCL
General Linear Model & Classical Inference Short course on SPM for MEG/EEG Wellcome Trust Centre for Neuroimaging University College London May 2010 C.
Methods for Dummies M/EEG Analysis: Contrasts, Inferences and Source Localisation Diana Omigie Stjepana Kovac.
[Ran Manor and Amir B.Geva] Yehu Sapir Outlines Review
Attention Components and Creative Potential: An ERP Exploration
Verifiability and Action verb Processing: An ERP Investigation
General Linear Model & Classical Inference
Automatic Sleep Stage Classification using a Neural Network Algorithm
M/EEG Statistical Analysis & Source Localization
Dynamic Causal Modelling for M/EEG
Machine Learning for Visual Scene Classification with EEG Data
Presentation transcript:

Pre-processing for EEG and MEG Przemek Tomalski & Kathrin Cohen Kadosh

Recording EEG

Two crucial steps Activity caused by your stimulus (ERP) is ‘hidden’ within continuous EEG stream ERP is your ‘signal’, all else in EEG is ‘noise’ Event-related activity should not be random, we assume all else is Epoching – cutting the data into chunks referenced to stimulus presentation Averaging – calculating the mean value for each time-point across all epochs

Extracting ERP from EEG ERPs emerge from EEG as you average trials together

Overview Pre-processing Converting the data Epoching/Segmentation Filtering Artifact Detection/Rejection Averaging Re-referencing

Convert the data

Overview Pre-processing Converting the data Epoching /Segmentation Filtering Artifact Detection/Rejection Averaging Re-referencing

Epoching

Segmenting (Epoching) Segment length: at least 100 ms should precede the stimulus onset (see baseline correction). The time - frequency analysis can distort the signal at both ends of the segment, make sure you do not lose important data and that the baseline segment is still long enough after cutting off the affected portions. The affected segment length depends on the frequency in an inverse manner (length ms ~ 2000/freq Hz) The segment should not be too long nevertheless, the longer it is the bigger the chance to include an artifact!

Epoching - SPM

Overview Pre-processing Converting the data Epoching/Segmentation Filtering Artifact Detection/Rejection Averaging Re-referencing

Filtering Types of filters: highpass lowpass notch (stopband filter) Butterworth (bandpass filter, backward and forward) ! (require signal processing toolbox in Matlab)

Effects of filtering the raw data Lowpass 30 Hz highpass 0.3 Hz

Filtering in SPM

Overview Pre-processing Converting the data Epoching/Segmentation Filtering Artifact Detection/Rejection Averaging Re-referencing

Artifacts in EEG signal Blinks Eye-movements Muscle activity EKG Skin potentials Alpha waves

Eye blinks

Eye movements

Sweat artifacts

Artefact detection - SPM

Artifact correction Rejecting ‘artifact’ epochs costs you data Using a simple artefact detection method will lead to a high level of false-positive artifact detection Rejecting only trials in which artifact occurs might bias your data Alternative methods of ‘Artifact Correction’ exist

Artifact correction - SPM SPM uses a robust average procedure to weight each value according to how far away it is from the median value for that timepoint Weighting Value Outliers are given less weight Points close to median weighted ‘1’

Artifact correction - SPM Normal average Robust Weighted Average

Robust averaging - SPM

Artifact avoidance Blinking EMG Alpha waves Avoid contact lenses Build ‘blink breaks’ into your paradigm If subject is blinking too much – tell them EMG Ask subjects to relax, shift position, open mouth slightly Alpha waves Ask subject to get a decent night’s sleep beforehand Have more runs of shorter length – talk to subject in between Vary ISI – alpha waves can become entrained to stimulus

Overview Pre-processing Converting the data Epoching/Segmentation Filtering Artifact Detection/Rejection Averaging Re-referencing

Averaging

Averaging S/N ratio increases as a function of the square root of the number of trials. As a general rule, it’s always better to try to decrease sources of noise than to increase the number of trials.

Averaging

Averaging Assumes that only the EEG noise varies from trial to trial But – amplitude and latency will vary Variable latency is usually a bigger problem than variable amplitude

Averaging: effects of variance Latency variation can be a significant problem

Overview Pre-processing Converting the data Epoching/Segmentation Filtering Artifact Detection/Rejection Averaging Re-referencing

Re-referencing It is important to re-reference the data in order to estimate a true, nonarbitrary zero value to which to reference the voltage measurements. There are many different ways to re-reference, depending on the experimental question. Possibly the best solution: average reference, improves with increasing number of channels Other option: linked mastoids, vertex, etc.

Re-referencing

Re-referencing

What comes next? Visual inspection of individual data Grand mean Statistical Analysis

General Recommendations Use short blocks, ca. 2 min with breaks Keep recording time under 45min Keep it small and simple Look for main effects and not for complex interactions Don’t go fishing!

References Luck, S. J. (2005). An introduction to the event-related potential technique. Cambridge, MA: MIT Press. Picton, T. W., Bentin, S., Berg, P., Donchin, E., Hillyard, E., Johnson, J. R., et al. (2000). Guidelines for using human event-related potentials to study cognition: Recording standards and publication criteria, Psychophysiology, 37, 127-152. SPM Manual

Thank you! And many thanks to Dr. Vladimir Litvak for his advice!