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

Similar documents
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

Brain-Computer Interface (BCI)

Pre-processing pipeline

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

HBI Database. Version 2 (User Manual)

PROCESSING YOUR EEG DATA

Music BCI ( )

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

Tutorial 3 Normalize step-cycles, average waveform amplitude and the Layout program

DATA! NOW WHAT? Preparing your ERP data for analysis

PulseCounter Neutron & Gamma Spectrometry Software Manual

Patchmaster. Elektronik. The Pulse generator. February 2013

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

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

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

The Measurement Tools and What They Do

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

Lab 1 Introduction to the Software Development Environment and Signal Sampling

Automatic Piano Music Transcription

Torsional vibration analysis in ArtemiS SUITE 1

DDA-UG-E Rev E ISSUED: December 1999 ²

Processing data with Mestrelab Mnova

Auxiliary states devices

SigPlay User s Guide

ME EN 363 ELEMENTARY INSTRUMENTATION Lab: Basic Lab Instruments and Data Acquisition

Handout 1 - Introduction to plots in Matlab 7

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

StaMPS Persistent Scatterer Exercise

Doubletalk Detection

BER MEASUREMENT IN THE NOISY CHANNEL

Logic Analyzer Auto Run / Stop Channels / trigger / Measuring Tools Axis control panel Status Display

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

Getting started with Spike Recorder on PC/Mac/Linux

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

WU-Minn HCP MEG Initial Data Release: Reference Manual

LEP400 Etch Depth Monitor Real-time, in-situ plasma etch depth monitoring and end point control plus co-linear wafer vision system

The software concept. Try yourself and experience how your processes are significantly simplified. You need. weqube.

Advanced IC analysis

administration access control A security feature that determines who can edit the configuration settings for a given Transmitter.

Pre-processing of revolution speed data in ArtemiS SUITE 1

Help Manual. Monitoring Devices. For the following devices: SJM Confirm Implantable Cardiac Monitor Confirm Rx Insertable Cardiac Monitor

Exercise 1: Muscles in Face used for Smiling and Frowning Aim: To study the EMG activity in muscles of the face that work to smile or frown.

Template Matching for Artifact Detection and Removal

Operating Instructions

PYROPTIX TM IMAGE PROCESSING SOFTWARE

Environmental Controls Laboratory

AFM1 Imaging Operation Procedure (Tapping Mode or Contact Mode)

Heart Rate Variability Preparing Data for Analysis Using AcqKnowledge

Rechnergestützte Methoden für die Musikethnologie: Tool time!

J-Syncker A computational implementation of the Schillinger System of Musical Composition.

Operating Procedures for RECO1 & RECO2

PS User Guide Series Seismic-Data Display

Select source Click the Bio Settings button to modify device settings. Select Fingers Use Ctrl+Left mouse button to select multiple fingers to scan.

Quick Start Bruker Dimension Icon AFM

The software concept. Try yourself and experience how your processes are significantly simplified. You need. weqube.

ASK THE EXPERTS: Procedure for Verifying Magnetic Pickup Signal Integrity Using a Windrock Portable Analyzer

SpikePac User s Guide

FIRMWARE RELEASE NOTE

Experiment 7: Bit Error Rate (BER) Measurement in the Noisy Channel

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

SIDRA INTERSECTION 8.0 UPDATE HISTORY

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

Manual for the sound card oscilloscope V1.41 C. Zeitnitz english translation by P. van Gemmeren, K. Grady and C. Zeitnitz

Neat Video noise reduction plug-in for Pinnacle Studio

StaMPS Persistent Scatterer Practical

When to use External Trigger vs. External Clock

Field Test 2. Installation and operation manual OPDAQ Installation and operation manual

NMR. picospin. Maintenance Guide

Using the HDCV Data Acquisition Program

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

The DataView PowerPad III Control Panel

R H Y T H M G E N E R A T O R. User Guide. Version 1.3.0

Dewesoft Instructions: Chapter Needed files. Contents:

CHAPTER-9 DEVELOPMENT OF MODEL USING ANFIS

User Guide Slow Cortical Potentials (SCP)

What s New in Raven May 2006 This document briefly summarizes the new features that have been added to Raven since the release of Raven

SAGE Instruments UCTT 8901 Release Notes

Instrument Recognition in Polyphonic Mixtures Using Spectral Envelopes

Neat Video noise reduction plug-in for Premiere (Mac)

Neat Video noise reduction plug-in for After Effects (Mac)

Oscilloscope Guide Tektronix TDS3034B & TDS3052B

How to Optimize Ad-Detective

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

Neat Video noise reduction plug-in for Final Cut (Mac)

Analyzing and Saving a Signal

BioGraph Infiniti Physiology Suite

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

Work no. 2. Doru TURCAN - dr.ing. SKF Romania Gabriel KRAFT - dr.ing. SKF Romania

Neat Video noise reduction plug-in for AVX hosts (Win)

GS Bloch Equations Simulator 1. GS Introduction to Medical Physics IV Exercise 1: Discrete Subjects

2 MHz Lock-In Amplifier

Quick Start manual for Nova

ExtIO Plugin User Guide

Pictures To Exe Version 5.0 A USER GUIDE. By Lin Evans And Jeff Evans (Appendix F By Ray Waddington)

MTurboComp. Overview. How to use the compressor. More advanced features. Edit screen. Easy screen vs. Edit screen

The EEGer 4.3 Tutorial

ISCEV SINGLE CHANNEL ERG PROTOCOL DESIGN

Lesson 1 EMG 1 Electromyography: Motor Unit Recruitment

APPLICATION NOTE # Monitoring DTMF Digits Transmitted by a Phone

Transcription:

THE BERGEN EEG-fMRI TOOLBOX Gradient fmri Artifatcs Remover Plugin for EEGLAB 1- INTRODUCTION This EEG toolbox is developed by researchers from the Bergen fmri Group (Department of Biological and Medical Psychology, University of Bergen). This toolbox intends to provide advanced solutions for the use of EEG and fmri simultaneous recording datasets. All the methods are presented on a user-friendly environment (GUI interface) and all the executed code commands are reported, allowing users to perform their own solutions to their datasets. Gradient fmri Artifatcs Remover Plugin: When an EEG and fmri is recorded simultaneously, the fast change of the magnetic field gradient of the MR scanner produces huge interferences to the EEG record. This results on a EEG record contaminated with induced artifacts from the fmri scans. This plug-in is aimed to deliver an output EEG dataset without these interferences and for that, for each EEG channel, each artifact is analyzed separately and head movements are taken in consideration for the removing process. A sequence of 5 steps is suggested for the removing process but users have easy access to each single step command/code generation. Note: To obtain only the pure neural activation on your dataset, other interferences must be discarded, (e.g. ocular activation, QRS events, chewing, etc.) and therefore we encourage to apply other techniques after this plug-in. For more information, please contact us. 2 INSTALATION AND REQUISITES Instalation: Simply expand the RAR file and place the content on the \..EEGLAB\PLUGINS\ directory. Please make sure that the EEG_fMRI_recording folder is now one subfolder of PLUGINS directory. Running: Run EEGLAB; Load or import dataset; Go to the menu TOOLS BERGEN EEGfMRI Toolbox Remove fmri gradients artifacts Requisites: Matlab 7.4 (r2007a), EEGLAB (http://sccn.ucsd.edu/eeglab/). Please read how to handle with Large Datasets in http://www.mathworks.com/support/tech-notes/1100/1107.html

3 - TUTORIAL GUIDE STEP 1 fmri Volumes onset detection Use Marker from fmri recording: If the dataset was recorded with synchronization of the MR machine, it might contain the references for the beginning of each MR scan. This method uses the EEG.event record to select the references of selected Marker. Marker: Selecting a marker, an automatic plot of the first 7 fmri Volumes will appear. A red cross is positioned on each volume onset. If less than 2 references are found on whole dataset, an error message is generated and the Marker is not accepted. Manual fmri Volumes detection: This method will scan the dataset for possible peaks related with the beginning or onset of each fmri volume. It requires only an approximate value for the repetition rate (TR) used by the MR machine. For continuous recording it might require more accurate values. In these situations, users can change the artifact gradient amplitude to tune the trigger value for detection. After all settings are set, press Read fmri volumes onset button and an automatic plot of the first 7 Markers will appear. A red cross is positioned on each reference of Markers. If detection fails, an error message is generated and the user cannot proceed. Estimated fmri repetition rate TR: It refers to the Time Repetition (TR) used on the fmri scans. This is the time between two consecutive fmri volumes. It can be an estimated value but it must be specified in milliseconds. EEG reference channel: Users can specify a channel in particular on which the detection method will be based to detect possible onsets. Auto option will automatically select the channel with lower gradient. (Attention: make sure that the channel selected is not an accidentally unplugged electrode. Users can check the channel on Preview button. Preview: This Button will only be available if any EEG reference channel is selected. It plots the gradient of selected channel (it only plots 2.5% of the first half of channel).

Artifact threshold: Users can change the artifact gradient amplitude to tune the trigger value for detection method. It can be specified in percentage relative to the peaks of the volumes or it can be specified an absolute value (in micro volts). Users can choose to Preview the channel and see a safe or optimal value for threshold. STEP 2 Artifact Duration Parameters Continuous recording: If selected, the Start of the Artifact will have the same value as the Marker, and the End of the Artifact will be the point immediately before the next marker. (i.e. Start = 0, End = TR). Adjust Start and End of the Artifact Manually: If selected, user will be able to adjust the Start and End of the artifact relative to the first marker. Start and End values must be in milliseconds and will be positive or negative depending if they are after or before the first marker (respectively). Alternatively, user may select graphically Start and End points. Zoom tool is available and Buttons plus/minus can be used to better accurate the Start and End of the Artifact Volume. Note: Silent Gap cannot be negative. (Note: It is possible to define continuous recording if resulting silent gap is zero). STEP 3 Baseline Correction Use whole artifact average: This option is only available if there is no silent gap (continuous recording). If selected, each artifact interval defined on step 2 is averaged and shifted to zero. Use average of precedent silent gap: This option is only available if there silent gap exists. If selected, each artifact interval defined on step 2 is averaged and shifted to the average of precedent silent gap. Use Time Interval average: If selected, each artifact interval defined on step 2 is averaged and shifted to the average of defined time interval. The time interval is defined on From and To boxes. The values

must be in milliseconds and will be positive or negative depending if they are after or before the marker (respectively). Advanced Option - Shift non corrected data to baseline: If selected, it will only take effect after shifting the corrected data. In this case, the whole initial part of dataset (until the Beginning of fmri recording) is averaged and then shifted to the average of the first corrected artifact. In the same way, the last part of the dataset (from the End of fmri recording until the end of the dataset) is averaged and then shifted to the average of last artifact corrected. STEP 4 Correction Method Realignment Parameter Informed (1) : Number of Artifacts that constitute the template: Each artifact is estimated to be similar to the artifacts in the neighborhood but when a head movement occurs, the artifacts can change dramatically. Because of that each artifact is expected to be similar to a specific neighborhood, constituting a template. This number refers to the number of artifacts for this template neighborhood; Threshold of movement: This value must be in milliseconds and between 0 and 1. It implies that it will only be consider movements that occurred with more amplitude than the specified. Head movement registry file: This file can be a text file (*.txt) and must have dimension [n x 6], where n is the total number of artifact volumes considered for correction and 6 columns are related as the 6 rotation references values (x, y, z, @x, @y, @z). Moving Average (2) : Number of Artifacts that constitute the template: Each artifact is estimated to be similar to the artifacts in the neighborhood, considering a moving average of several artifacts (template). This number refers to the number of artifacts to be considered on this template; All artifacts volumes:

This method will consider all the artifact volumes in consideration for correction, with the same weight. Load Correction Matrix file: This option allows users to load their own correction matrix by Matlab (*.MAT) file. This file must contain a variable called weighting_matrix and this variable must be quadratic, meaning that it s dimension must be [N x N], where N is the number of artifacts considered for correction. If N is lower than the Markers (M) detected on Step 1, then the fist (M-N) artifacts will be discard from correction. STEP 5 Filtering Options Resample: This option uses the pop_resample() function from EEGLAB. It down samples the dataset to the specified sample rate. Pass-band filter: This option uses the pop_iirfilt()function from EEGLAB. To prevent errors, it first applies a Low-pass filter and then the High-pass filter, resulting in the specified Pass-band filter parameters. (1) 4 - REFERENCES Realignment parameter-informed artefact correction for simultaneous EEG fmri recordings, Moosmann et al, 2009. (2) Weighted moving averages of artifact epochs, Allen et al, 2000. Copyright (C) 2009 The Bergen fmri Group 4 - CREDITS

5 - INFORMATION Bergen fmri Group Department of Biological and Medical Psychology University of Bergen Jonas Lies vei 91, 5009 Bergen - Norway For further information, bugs or error reports or suggestions, please contact us: netoemanuel@gmail.com or moosmann@gmail.com (if possible send us the report log file to better illustrate your difficulties)