Pre-processing pipeline

Similar documents
Artifact rejection and running ICA

Advanced IC analysis

PROCESSING YOUR EEG DATA

THE BERGEN EEG-fMRI TOOLBOX. Gradient fmri Artifatcs Remover Plugin for EEGLAB 1- INTRODUCTION

DATA! NOW WHAT? Preparing your ERP data for analysis

Pre-Processing of ERP Data. Peter J. Molfese, Ph.D. Yale University

HBI Database. Version 2 (User Manual)

A Matlab toolbox for. Characterisation Of Recorded Underwater Sound (CHORUS) USER S GUIDE

Brain-Computer Interface (BCI)

Common Spatial Patterns 2 class BCI V Copyright 2012 g.tec medical engineering GmbH

Common Spatial Patterns 3 class BCI V Copyright 2012 g.tec medical engineering GmbH

OSL Preprocessing Henry Luckhoo. Wednesday, 23 October 13

VivoSense. User Manual Galvanic Skin Response (GSR) Analysis Module. VivoSense, Inc. Newport Beach, CA, USA Tel. (858) , Fax.

Music BCI ( )

Introduction to GRIP. The GRIP user interface consists of 4 parts:

Case study: how to create a 3D potential scan Nyquist plot?

Thought Technology Ltd Belgrave Avenue, Montreal, QC H4A 2L8 Canada

Software manual. ChipScan-Scanner 3.0

MindMouse. This project is written in C++ and uses the following Libraries: LibSvm, kissfft, BOOST File System, and Emotiv Research Edition SDK.

HD-SDI Express User Training. J.Egri 4/09 1

SpikePac User s Guide

#PS168 - Analysis of Intraventricular Pressure Wave Data (LVP Analysis)

BVS Indoor Forecaster Predictive RF In-Building Survey Analysis for CW Signals

PS User Guide Series Seismic-Data Display

MAutoPitch. Presets button. Left arrow button. Right arrow button. Randomize button. Save button. Panic button. Settings button

OT BioLab+ UserManual v1.0 for software version 1.0.*.*

NanoTrack Cell and Particle Tracking Primer

Analyzing and Saving a Signal

EYE TRACKING DATA ANALYSIS TOOL

Preparation of the participant. EOG, ECG, HPI coils : what, why and how

Please feel free to download the Demo application software from analogarts.com to help you follow this seminar.

User Guide Slow Cortical Potentials (SCP)

qeeg-pro Manual André W. Keizer, PhD October 2014 Version 1.2 Copyright 2014, EEGprofessionals BV, All rights reserved

Design of effective algorithm for Removal of Ocular Artifact from Multichannel EEG Signal Using ICA and Wavelet Method

Patchmaster. Elektronik. The Pulse generator. February 2013

qeeg-pro Manual André W. Keizer, PhD v1.5 Februari 2018 Version 1.5 Copyright 2018 qeeg-pro BV, All rights reserved

For the SIA. Applications of Propagation Delay & Skew tool. Introduction. Theory of Operation. Propagation Delay & Skew Tool

Getting started with Spike Recorder on PC/Mac/Linux

PYROPTIX TM IMAGE PROCESSING SOFTWARE

BioGraph Infiniti Physiology Suite

International Journal of Advance Research in Engineering, Science & Technology

USB Mini Spectrum Analyzer User s Guide TSA5G35

Doubletalk Detection

Getting Started. Connect green audio output of SpikerBox/SpikerShield using green cable to your headphones input on iphone/ipad.

Central Software Suite

StaMPS Persistent Scatterer Exercise

Speech Recognition and Voice Separation for the Internet of Things

ECE3296 Digital Image and Video Processing Lab experiment 2 Digital Video Processing using MATLAB

LA xlimit. Manual. by tb-software (C) tb-software 2015 Page 1 of 6

CS229 Project Report Polyphonic Piano Transcription

invr User s Guide Rev 1.4 (Aug. 2004)

BitWise (V2.1 and later) includes features for determining AP240 settings and measuring the Single Ion Area.

Scout 2.0 Software. Introductory Training

This guide gives a brief description of the ims4 functions, how to use this GUI and concludes with a number of examples.

Release Notes for OmniPlex Release 17 2/22/2018. Plexon Inc. Release Notes for OmniPlex 2/22/2018

ISCEV SINGLE CHANNEL ERG PROTOCOL DESIGN

Lab experience 1: Introduction to LabView

System Requirements SA0314 Spectrum analyzer:

NeXus: Event-Related potentials Evoked potentials for Psychophysiology & Neuroscience

A few quick notes about the use of Spectran V2

FIES Automatic Data Reduction Software version 1.0. User Manual. Eric Stempels

The following exercises illustrate the execution of collaborative simulations in J-DSP. The exercises namely a

Fig. 1 Add the Aro spotfinding Suite folder to MATLAB's set path.

NENS 230 Assignment #2 Data Import, Manipulation, and Basic Plotting

HyperMedia User Manual

Quick Reference Manual

Lab 1 Introduction to the Software Development Environment and Signal Sampling

3 CHOPS - LIP SYNCHING

Torsional vibration analysis in ArtemiS SUITE 1

Feature Conditioning Based on DWT Sub-Bands Selection on Proposed Channels in BCI Speller

Software Manual Control Panel for Professional Single Booster Units Models: MM3 BW3

PulseCounter Neutron & Gamma Spectrometry Software Manual

Automatic LP Digitalization Spring Group 6: Michael Sibley, Alexander Su, Daphne Tsatsoulis {msibley, ahs1,

LAB 1: Plotting a GM Plateau and Introduction to Statistical Distribution. A. Plotting a GM Plateau. This lab will have two sections, A and B.

XNET-NVR User s Guide

Measurement User Guide

Quantitative Evaluation of Artifact Removal in Real Magnetoencephalogram Signals with Blind Source Separation

Heart Rate Variability Preparing Data for Analysis Using AcqKnowledge

Analyzing Modulated Signals with the V93000 Signal Analyzer Tool. Joe Kelly, Verigy, Inc.

MICROSOFT WORD FEATURES FOR ARTS POSTGRADUATES

Technical Specifications

SigPlay User s Guide

Reinhard Gentner, Susanne Gorges, David Weise, Kristin aufm Kampe, Mathias Buttmann, and Joseph Classen

Space-Time-Frequency Bag of Words Models for Capturing EEG Variability: A Comprehensive Study

48 TV Caller ID TV CALLER ID

Introduction to EndNote

Hands-on session on timing analysis

Hybrid Wavelet and EMD/ICA Approach for Artifact Suppression in Pervasive EEG

T-BERD /MTS 5800 Network Tester Fiber Channel Layer 2 Traffic

The Influence of Explicit Markers on Slow Cortical Potentials During Figurative Language Processing

MestReNova A quick Guide. Adjust signal intensity Use scroll wheel. Zoomen Z

BrainMaster tm System Type 2E Module & BMT Software for Windows tm. Display Screens for Master.exe

Pre-processing of revolution speed data in ArtemiS SUITE 1

Multiband Noise Reduction Component for PurePath Studio Portable Audio Devices

A low noise multi electrode array system for in vitro electrophysiology. Mobius Tutorial AMPLIFIER TYPE SU-MED640

The EEGer 4.3 Tutorial

FS1-X. Quick Start Guide. Overview. Frame Rate Conversion Option. Two Video Processors. Two Operating Modes

Identification, characterisation, and correction of artefacts in electroencephalographic data in study of stationary and mobile electroencephalograph

SIGVIEW v2.6 User Manual

Noraxon U.S.A, Inc. myopressure USER GUIDE v3.6 P 4508 as of July 2014 i

Transcription:

Pre-processing pipeline Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

Dense-array EEG

Pre-processing pipeline Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

EEGLAB Matlab toolbox main graphic interface

Importing a dataset EEGLAB supports many different raw data formats

Imported EEG data EEGLAB GUI displays dataset basics

Load an existing dataset

Pre-processing pipeline Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

Import data events Import events from Matlab array or ASCII file Import events from data channel Import from Presentation event file Import from Neuroscan file 72 Often imported automatically during data import

Appearance of an event channel in raw data

Imported data events >> EEG.event ans = 1x1303 struct array with fields: Trial Event_Type type latency TTime Uncertainty Duration Uncertainty2 ReqTime ReqDur init_index init_time urevent duration load rt If event import was successful, you will see an appropriate number here

Review event values Most relevant fields Delete CURRENT event Number of event fields is unlimited Append event AFTER current event To resort: first select Main sorting field Insert event BEFORE current event

Import channel locations Several file formats supported (Polhemus, BESA, El Guide )

Import channel locations EEG

Imported channel locations

Pre-processing pipeline Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

Re-reference data (if necessary/desired) For example, average reference optional LEYE REYE

Re-reference data (if necessary/desired) OR, re-reference to (i.e.) 'linked mastoids' TP9 TP10 EEG = pop_reref( EEG, 39);

Save new dataset, keep old one [ALLEEG EEG CURRENTSET] = pop_newset(alleeg,eeg, 1, 'setname', 'Sternberg Continuous -- Reref''d');

Multiple active datasets (ALLEEG)

Pre-processing pipeline Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

Filter the data (if necessary/desired) Lower cut off frequencies require longer stretches of continuous data High-pass needed for ICA

Pre-processing pipeline Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

Scroll channel data Alternate GUI option, same function >> pop_eegplot(eeg,1,1,1);

Scroll channel data Event markers channels, time, events sec/epoch Scroll buttons scaling

Pre-processing pipeline Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

Remove channel 1) Identify bad channel

Remove channel(s)

Removing channel(s) If not checked, will result in dataset with one channel

Channel removed Channel data without 'F6' (see supplementary material for interpolation)

Pre-processing pipeline Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

Reject continuous data Equivalent

Reject continuous data Click and drag with mouse over noisy data to reject

Rejecting data for ICA To prepare data for ICA: Reject large muscle or otherwise strange events... Keep Reject... but keep stereotyped artifacts (like eye blinks)

Pre-processing pipeline Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

Channels Components Independent Component Analysis x = scalp EEG W = unmixing matrix u = sources W*x = u ICA Time x = W -1 *u u = sources Time W -1 (scalp projections) *

Secrets to a good ICA decomposition

Runica options Option Default Comments extended 0 1 is recommended to find sub-gaussians stop 1e-7 final weight change stop lrate determined too small too long from data too large wts blow up maxsteps 512 more channels more steps pca 0 or Decompose only a EEG.nbchan principal data subspace Other algorithms: binica,sobi,acsobiro maxsteps,750 extended,1 lrate,1e-3 stop,1e-7 pca,50

Runica progress

ICA weights in EEG structure

Pre-processing pipeline (review) Collect high-density EEG data (>30 chan) Import into EEGLAB Import event markers and channel locations Re-reference/ down-sample (if necessary) High pass filter (~.5 1 Hz) Examine raw data Reject bad channels Reject large artifact time points

The example data: Sternberg working memory Fixation File.../SampleData/stern.set Data Continuous data (not epoched), ref d to right mastoid Task between 3 and 7 letters to memorize (colored black), between 1 and 5 letters to ignore (colored green), 8 letters presented during each trial 50% chance of probe letter being in-set Maintenance SOA (5 sec) (1.4 sec) (2-4 sec) Probe + M L T G P Y Q W - T Memorize Ignore See 'SternbergTaskExplanation.pdf' on wiki for more task details. Was this letter in the memorized set? (RT) RESPONSE

Epoch on EEG.event type Memorize letters: capital letters Ignore letters: g preceding capital letter (e.g., gb ) Probe letters: r preceding capital letter (e.g., rb ) >> EEG = pop_epoch( EEG, {'B,'C,'D,... 'F,'G,'H,'J,'K,'L,'M,'N,'P... 'Q' 'R' 'S' 'T' 'V' 'W... 'X' 'Y' 'Z' }, [-1 2], 'newname',... 'Sternberg Memorize letter epochs',... 'epochinfo', 'yes');

Extract epochs

Exercise ALL -Load stern.set (continuous data) -Do not save your changes under the same filename! Novice -Scroll channel data and explore plotting options under 'Settings'. -Reject noisy time points by visual inspection -Import standard channel locations -Practice preprocessing steps described in this lecture Intermediate / Advanced (requires supplementary material) -Remove a channel and then replace it by interpolation -Compare this signal with the original when you do this with a 'clean' channel -Epoch data even of interest, plot Channel ERPs from Plot menu -Try different filter methods and cut-offs, compare results

Supplementary lessons

Auto-detection of noisy channels >> EEG = pop_rejchan(eeg, 'elec',[1:71], 'threshold',5,... 'norm', 'on', 'measure', 'prob');

Auto-detected noisy channel

Interpolate bad channel Choose a channel from other dataset Auto-select deleted channel from other dataset

Interpolated channel Channel order changes, but scalp location is correct

Merge (append) datasets

Merged datasets

Renaming events 1) input original 'type' code 2) input new 'type' code 3) Keep/delete all other events

Renaming events

Analysis of channel ERPs >> pop_timtopo(eeg,[-200 500],[NaN],'ERP data and scalp maps');

Analysis of channel ERPs

Channel ERP in rectangular array

Analysis of channel ERPs pop_topoplot(eeg,1,[0:25:275], Memorize',[3 4],0,'electrodes','off');

Compare ERPs across conditions How do 'Memorize' and 'Ignore' ERPs differ?

Compare ERPs across conditions Compare ERPs from two conditions >>pop_comperp(alleeg,1,[2 3],[],'addavg','off','addstd','off', 'addall','on','diffavg','off','diffstd','off','lowpass',20, 'tplotopt',{'ydir',1});

Compare ERPs across conditions Click on an axis to see larger image

Analysis of ERP differences Plot difference between two conditions >> pop_comperp(alleeg,1, 2, 3,'addavg','off', 'addstd','off', 'diffavg','on','diffstd','off', 'lowpass',20, 'tplotopt',{'ydir',1});

Analysis of ERP differences ERP difference between 2 conditions

Event durations Color denotes event duration

Comments in EEGLAB structure >> EEG.comments

Memory options Set when loading a STUDY