In recent years, there has been increasing interest in estimating the cortical sources of scalp measured electrical activity for cognitive neuroscience experiments. This article describes how high density EEG is acquired and how recordings are processed for cortical source estimation in children from the age of 2 years at the London Baby Lab.
EEG is traditionally described as a neuroimaging technique with high temporal and low spatial resolution. Recent advances in biophysical modelling and signal processing make it possible to exploit information from other imaging modalities like structural MRI that provide high spatial resolution to overcome this constraint1. This is especially useful for investigations that require high resolution in the temporal as well as spatial domain. In addition, due to the easy application and low cost of EEG recordings, EEG is often the method of choice when working with populations, such as young children, that do not tolerate functional MRI scans well. However, in order to investigate which neural substrates are involved, anatomical information from structural MRI is still needed. Most EEG analysis packages work with standard head models that are based on adult anatomy. The accuracy of these models when used for children is limited2, because the composition and spatial configuration of head tissues changes dramatically over development3.
In the present paper, we provide an overview of our recent work in utilizing head models based on individual structural MRI scans or age specific head models to reconstruct the cortical generators of high density EEG. This article describes how EEG recordings are acquired, processed, and analyzed with pediatric populations at the London Baby Lab, including laboratory setup, task design, EEG preprocessing, MRI processing, and EEG channel level and source analysis.
President Barack Obama described the human brain as the next frontier of scientific discovery with high importance for health and economy3 (http://www.whitehouse.gov/share/brain-initiative). However, like any other field in the natural sciences, neuroscience depends on advances in methodologies and analysis techniques for progress. Two commonly used non invasive tools in studies about brain function in humans are magnetic resonance imaging (MRI) and electroencephalography (EEG). These tool exploit different physical properties and provide different insights into brain function with unique advantages and disadvantages. MRI uses the magnetic properties of water molecules within magnetic fields to obtain images of living tissues. The subject needs to be placed in a magnet with high field strength. The participant's movement is restricted during this procedures and the participant has to tolerate noise caused by rapid changes in the magnetic field. In addition to structural images, MRI also provides the possibility to measure changes in blood oxygenation to investigate brain function (fMRI). In summary, MRI offers relatively high spatial resolution of up to 0.5 mm3 with modern high fields scanners and optimized parameters4. In contrast, the temporal resolution of fMRI is limited to the slow kinetics of the BOLD response, which only indirectly reflects the high temporal dynamics of neural activity5,6.
On the other hand, EEG measures changes in electrical activity caused by the activity of neurons through electrodes placed on the scalp. Recent advances in EEG technology allow quick and easy application of the sensors for short term or long term and stationary as well as ambulatory recordings. Because EEG is less restrictive, it is also the method of choice for certain participant populations that do not tolerate the MRI environment well like pediatric and certain geriatric and psychiatric populations. The properties of EEG show an inverse pattern to those of MRI: the temporal resolution is very high with millisecond precision, but the spatial resolution is limited. Electrical currents pass through different tissues between their generator and the EEG electrodes on the surface of the scalp. This leads to mixing and spatial smearing of source activity known as the volume conduction effect. Therefore, activity measured by the electrodes on the surface of the scalp reflects activity from multiple sources that might be distant to the position of the electrode on the head1,7.
Much work in recent years has been dedicated to the merging of MRI and EEG in order to take advantage of their respective strengths. One line of work is dedicated to the simultaneous acquisition of EEG and MRI in functional studies. Another approach is to use the spatial information provided by structural MRI to take account of the volume conduction effect through biophysical modelling. The use of structural information for source reconstruction of EEG recordings is particularly useful for studies involving a pediatric population. The investigation of the development of brain function is central to understanding how complex cognitive skills are built on top of simple precursors8.
These investigations help to highlight changes in the neural substrates and response properties that correlate with changes in behavioral performance. However, the investigation of brain function and cognition during development also poses specific challenges. Particularly, the opportunity for functional MRI studies is limited as young children and infants either have to be asleep or sedated to obtain MRI data without movement artifacts and negative impact on participant wellbeing. Further, EEG is perceived as less risky and invasive by parents, which makes the recruitment of research participants easier. Therefore, EEG is the method of choice for many investigations of brain function in young children. Methodological advances in EEG systems allow the application of high density electrode arrays with 128 or more channels within minutes. Ease of application and wearing comfort are sufficient to even allow EEG recording in the youngest infants. However, often researchers are not only interested in the temporal dynamics of responses to particular stimuli, but would also like to compare the neural substrates that mediate the responses.
A prevailing assumption in channel level ERP analysis comparing different age groups is that the same neural substrates respond, but that the timing or response amplitude varies across ages9. Similar scalp topography is often used as an indicator of similar underlying neural activity. However, many different source configurations can lead to similar scalp topographies10. By applying source estimation, this uncertainty can be reduced and quantified. The independence of observations is critical for network accounts of brain function: if the sources are mixed, correlations will be biased towards higher local connectivity. Source reconstruction can be applied to reduce this bias11. Alternatively, differences in timing and phase can be used for connectivity analysis, but these mathematical models require assumptions that are hard to evaluate in non simulated data12. In summary, source estimation provides additional information to channel level EEG and ERP analysis based on knowledge about anatomy and biophysical properties of tissue.
Different algorithms have been devised to find solutions to the inverse problem. These algorithms fall broadly into two categories: parametric and non parametric13. Parametric models assume one or multiple dipoles that may vary in location, orientation and strength. In contrast, non parametric models contain a large number of dipoles with fixed location and orientation. In these models, the scalp electrical activity is explained as a combination of activations in the fixed dipoles10,13,14. Non parametric, distributed source models can be based on knowledge about anatomy and conductivity in different media. Boundary Element Models incorporate conductivity values for the main tissues of the head with different shells for the brain, cerebro spinal fluid, and skull. This is based on the assumption that conductivity is mostly constant within each compartment, but that marked changes occur at the boundary of different compartments. Finite element models are based on further segmentation of MR scans into grey and white matter so that conductivity values can be assigned to each voxel15.
In practical terms, non parametric models are particularly useful for source reconstruction in complex cognitive tasks, in which the number of areas involved may not be known10. Boundary element models are most widely used in the current literature, probably because the more accurate Finite Element Models pose comparably high computational demands. Further, there is considerable inter individual variability in grey and white matter so that FEMs should be based on individual MRI scans.
Non parametric models require a second step for matching the scalp measured activity to the predictions of the forward model. Again, different approaches with different advantages and drawbacks have been discussed in the literature (see Michel et al. 2004 for an overview). The most widely used algorithms are based on minimum norm estimation (MNE), which matches the scalp measured activity to a current distribution in the forward model with the lowest overall intensity16. MNE is biased towards weak and superficial sources. Depth weighted MNE algorithms try to reduce the surface bias by introducing weighting matrices based on mathematical assumptions10. The widely used LORETA approach is also based on weighted MNE, but additionally minimizes the Laplacian of sources, which leads to smoother solutions17,18. LORETA has been found to perform best for single sources in simulation studies19,20. However, LORETA may lead to over smoothing of solutions. Depth weighted MNE is preferable when the sources are unknown or multiple sources are likely to be present13,16. Comparing the results of different algorithms to evaluate the influence of different model assumptions is recommended.
In summary, source reconstruction through modelling methods has been limited for children until recently. This is because most EEG analysis software relies on head models based on adult anatomy that substantially limits the accuracy of source solutions in children2,8. The cheap access to computational power and the provision of user friendly software for source reconstruction make it possible to overcome these limitations. Applying source estimation to the EEG provides two important advantages over analysis based on channel level observations alone: improved spatial resolution and independence of observations.
Source estimation may not be informative in some cases: good coverage of the head is required to distinguish sources. High density systems with 128 or more electrodes are recommended10,15; a sparser coverage will act as a spatial filter leading to more wide spread source activation or false negative results10. Furthermore, source reconstruction based on the method described in this article has only been reported for cortical generators. Therefore, it is less suitable for testing hypotheses about subcortical substrates or cortical subcortical interactions. Lastly, source analysis should be based on detailed prior hypotheses about the cortical substrates, taking the existing literature from other imaging modalities into account. Spatial filtering techniques may also be used to improve the spatial resolution of the EEG signal by reducing spatial mixing on the scalp level. Alternative methods to reduce the influence of volume conduction effects without head modelling are used, e.g., Laplacian filtering21 or Current Source Density analysis22. However, these methods do not provide more information about neural generators as volume conduction effects are not only restricted to sensors in close spatial proximity1.
In the following sections, the article describes how experiments for the investigation of brain and cognitive function in children from 2 years of age are designed at the London Baby Lab. Next, EEG data acquisition with high density low impedance systems with children is discussed. Then, EEG preprocessing and analysis on the channel level is presented. Lastly, the article focuses on the processing of structural MRI data for cortical source reconstruction and analysis of source level signals.
1. Designing EEG & Event related potential experiments for children
Note: A simple experiment was designed for the purposes of this article that may be used to investigate face processing in young children. The following section will describe the experiment and explain how to implement it using MATLAB R2012b and Psychtoolbox V3.0.1123,24. Pictures taken from the NimStim set of emotional facial expression25 were used for this example. This stimulus set is available for research purposes upon request (http://www.macbrain.org/resources.htm).
2. Data Acquisition
3. Analysis
Designing ERP experiments for infants and children is often challenging, because of their limited capacity to tolerate long repetitive experiments30. This problem is further aggravated when the experimenter plans to apply source reconstruction, because accurate source reconstruction will require a high signal to noise ratio1. Figure 1 displays an experimental protocol for the investigation of face processing mechanisms that can be used with very young children. The paradigm is adapted to a) minimize eye blinks and eye movements during stimulus presentation, because children will be less able to control eye movements than adult volunteers b) make the experiment more engaging by adding attention grabbers after the inter stimulus interval. Eye blinks and eye movements are controlled by presenting a fixation cross shortly before the stimulus in order to draw attention to the center of the screen. Further, the stimulus duration is set to 500 msec, which allows conscious perception of the stimulus while minimizing the time for scanning the image with eye movements. The attention grabber consists of a child friendly image presented with a simultaneous sound. A random selection of different attention grabber stimuli can be used to keep the task interesting for the child. The next trial can be started by the experimenter, when it is clear from the monitoring system that the child is looking at the center of the screen again. In addition, stories can be used to help older children attend to the screen. It is often helpful to practice tasks with children before the EEG recording to make sure that the child understands the task. Screening questions or scores obtained in the practice session can be used as covariates in later analyses.
When calculating the number of repetitions needed for the experiment, it is important to take into account that many trials may be lost due to inattention or movement artifact when working with children. As a rule of thumb, the necessary number of repetitions should be doubled compared to adult studies or recruit a larger number of participants. The attention span and cooperation is limited in children compared to adults. Therefore, keep the specific needs of children in mind when designing the task. A long task can be broken into several blocks of shorter tasks with breaks in between. Typically, the number of conditions that can be included in the experiment is smaller for very young children, as they will not be able to cooperate for the longer periods needed to obtain sufficient trials for many stimulus conditions.
The figures presented are based on a recording with a 6 year old boy (6 years 3 months). The head model was based on an average MRI template of 6 year olds31. Figure 5 shows channel level event related potential responses (ERP) to face and scrambled face stimuli. The waveform of the ERP over posterior channels shows the expected pattern of a positive deflection followed by a negative deflection and a subsequent broad positive deflection. Based on the topography, time course and nature of the paradigm, these deflections are likely to represent the P100, N1 and late positive potential component. Further, the early negative deflection is significantly larger for face stimuli compared to scrambled faces. Therefore, it is likely to reflect the face specific N170 component. The topographic maps in Figure 5 show the voltage distribution between 250 and 300 msec. Negative voltage with a maximum over right occipito-temporal channels in the faces condition is evident.
Figure 6 shows the statistical comparison of source activity projected based on a standard adult head model and an age appropriate head model. Source reconstruction was based on a boundary element model (BEM) with depth weighted minimum norm estimation (wMNE) and full noise covariance matrix in Brainstorm v. 3.132. The default MNI Colin27 BEM was used as the adult model. Source activity was averaged over time between 250 and 300 msec in line with face specific responses on the channel level.
The map shows the results of a Student t-test comparison between the faces and scrambled faces condition corrected for multiple comparisons using false discovery rate (FDR). The results show significantly stronger source activation over the temporal lobe in the faces compared to the scrambled faces condition. The localization using the age appropriate model is more focal with strong differences on the ventral surface of the temporal cortex. Localization based on the adult head model is more disperse and shows source activity differences on the right medial and superior temporal gyrus that is mostly absent on the map based on the age appropriate head model.
Figure 1. Example of a face perception experiment suitable over a wide age range The experiment consists of visual presentation of images of faces or scrambled faces. The stimuli are physically identical, but the spatial arrangement is randomized in the scrambled condition. Each trial begins with central presentation of a fixation cross to minimize eye movements during stimulus presentation. The duration of the fixation cross presentation is randomized to avoid influences of entrainment over multiple repetitions. The stimulus is presented over a duration of 500 msec. The short duration also minimize the chance of eye movements during the presentation window. An attention grabbing stimulus is presented after an inter trial interval with random duration between 1 sec and 2 sec. The attention grabber is particularly useful for very young participants that are not likely to attend to many trials of non engaging material in sequence. The experiment can start the next trial, when the participant is looking on the screen in response to the attention grabber.
Figure 2. Flow diagram for the threshold rejection algorithm. The algorithm compares the maximum of each EEG channel in each epoch to a set threshold. If a channel contains maximum activity above the threshold, the channel is marked as bad. If more than 20% of channels are bad in a given epoch, the epoch is rejected. After epoch rejection, the maximum activity in each channel is compared to the threshold again. If a channel contains activity above the threshold in more than 30% of all epochs, the channel is rejected. If more than 20% of channels are rejected by this procedure or less than 50% of epochs per condition are left after epoch rejection, the dataset should be excluded from further analysis. Please click here to view a larger version of this figure.
Figure 3. Automatic artifact correction using the FASTER toolbox28. The figure shows options that need to be changed to use the FASTER toolbox with the setup and processing pipeline described in this article: 1. Filtering should be disabled, because the dataset has already been filtered 2. The number of channels needs to be adjusted. The EEG system used in this article has 126 channels with 2 EOG channels. 3. Event-markers for time locking need to be specified as a cell array of strings. 4. The time window for the event-related response needs to be supplied. This has to be identical to the window used in the earlier epoching step. 5. The user has to define channels for the independent component analysis (ICA). In most cases, this would comprise all EEG channels and relevant external channels like the eye channels (EOG). 6. The indices of the eye channels also need to be adjusted to the EEG system used. For the EEG system described, these would be channels 125 and 128. Please click here to view a larger version of this figure.
Figure 4. Source analysis in Brainstorm32. 1. After importing the EEG dataset and FreeSurfer surfaces, the Boundary Element Model (BEM) can be calculated by selecting “Compute head model” in the “Source” menu. 2. The noise covariance matrix can be calculated from the recordings by selecting “Compute noise covariance”. If the recording is long enough, i.e. more time points than sensors, the full covariance matrix can be computed, otherwise a diagonal matrix is recommended. 3. After computing the head model and noise covariance matrix, it is possible to obtain the inverse solution. Different algorithms may be used. The depth weighted Minimum Norm Estimation (wMNE) algorithm was used for this article. 4. The time course of source activity in regions of interest (ROI) can be extracted, by selecting “Extract Scout Time Series” from the “Source” menu. ROIs from automatic cortical parcellation in FreeSurfer were used for this example. Please click here to view a larger version of this figure.
Figure 5. Event related potentials response (ERP) to face and scrambled face stimuli over right occipito temporal channels. The ERP shows a more negative deflection between 130 and 220 msec after stimulus onset on the right side for faces compared to scrambled faces. These properties are in line with previous reports about the N170 component33. Please click here to view a larger version of this figure.
Figure 6. Comparison of source localization between a default adult head model and an appropriate head model. The top row of the figure shows the MNI adult boundary head model colin27 on the left and an age appropriate head model based on a FreeSurfer parcellation of an average MRI template for 6 year-old children on the right. The locations of coregistered electrode locations are also presented. The recording was obtained from a 6 year old boy (6 years 3 months). The second and third row show results of a statistical comparison between activation maps of MNE source reconstruction in the faces compared to the scrambled faces condition based on a t-test corrected for multiple comparison using False Discovery Rate (FDR). The color map illustrates the effect size with red indicating higher activity in the faces condition and blue showing higher activity in the scrambled faces condition. Please note that no amplitude or size thresholds were applied. The localization appears more focal on the ventral surface of the temporal pole using the age appropriate head model compared to the adult BEM. Please click here to view a larger version of this figure.
Figure 7. Source ERP of the right fusiform gyrus in response to faces and scrambled faces based on source reconstruction of a recording obtained from a 6 year old boy (6 years 3 months) using an age appropriate BEM with MNE The source ERP show a more negative deflection around 250 msec after stimulus onset in the faces condition compared to the scrambled faces condition. This activity is likely to reflect the contribution of the right fusiform gyrus to the N170 component in the faces condition.
Input for step 1.1 | Description |
input_image = imread(‘/Users/some_user/images/example.jpeg’); | % Reading the image |
gray_image = rgb2gray(input_image); | % Transferring from RGB to grey scale |
saveas(gray_image,‘grey_image.tiff’) | % Save new image |
Input for step 1.2 | Description |
Code Example: | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% Housekeeping | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
clc | % clearing variables from workspace |
clear all | |
close all | % setting audio drivers to low latency mode |
InitializePsychSound([0]); | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% Variables | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
input_folder = 'C:Documents and SettingsERP Lab UsersMy DocumentsMATLABFaces_Houses'; | % defining the working directory |
netstation = 1; | |
% this toggles communication with NetStation EEG recording software | |
% defining the number of trials | |
no_of_trials = 80; | % unifying keyboard names for easy portability between Unix and PC versions |
KbName('UnifyKeyNames') | % defining a variable for a escape key presses |
escapeKey = KbName('ESCAPE'); | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% Loading stimuli | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
face_directory = strcat('C:Documents and SettingsERP Lab UsersMy DocumentsMATLABFaces_HousesFaces'); | % supplying the folder with stimuli pictures |
files = dir(face_directory); | % generating a list with all picture stimuli |
faces = {files.name}; | |
faces(1:2) = []; | |
grabbers = dir('/Users/joebathelt/Dropbox/preterm_oddball/grabbers/'); | |
grabbers = {grabbers.name}; | |
grabbers(1:2) = []; | |
grabber_sounds = dir('/Users/joebathelt/Dropbox/preterm_oddball/sounds/'); | |
grabber_sounds = {grabber_sounds.name}; | |
grabber_sounds(1:2) = []; | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% Starting the experiment | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
if netstation == 1; NetStation('Connect','194.82.245.131','55513') | % synchronisation with the recording software |
NetStation('Synchronize',10) | % synchronisation within 10 msec of accuracy |
NetStation('StartRecording') | % starts the recording |
end | |
% Setting up the screen | |
screenNum=0; | % identification number of presentation screen |
% defining a window for stimulus presentation | |
[display.w, display.rect] = Screen('OpenWindow', screenNum, 0); | |
[wPtr,rect]=Screen('OpenWindow',screenNum); | % hiding the mouse cursor |
HideCursor; | |
black=BlackIndex(wPtr); | % setting the background to black |
Screen('FillRect',wPtr,black); | % defining font and font size for text display |
Screen('TextFont', display.w, 'Arial'); | |
Screen('TextSize', display.w, 32); | |
Screen('TextStyle',display.w, 0); | |
for i=1:no_of_trials | |
FlushEvents | |
randomizer = randi(2); | |
% randomly selecting an attention grabber picture | |
attention_grabber = imread(strcat(input_folder,'grabbers/',cell2mat(grabbers(randi(length(grabbers)))))); | |
[sounds,fs,nbits] = wavread(strcat(input_folder,'sounds/',cell2mat(grabber_sounds(randi(length(grabbers)))))); | |
audio_handle = PsychPortAudio('Open', [], [], 0, fs, length(sounds(1,:))); | |
sounds = sounds'; | % randomly selecting an attention grabber sound |
PsychPortAudio('FillBuffer', audio_handle, sounds); | |
% setting up sound presentation | |
stimulus = strcat(face_directory,faces(randi(length(faces)))); | |
stimulus = imread(cell2mat(stimulus)); | % this randomises the presentation of faces and scrambled faces |
if randomizer == 2; | % loading the stimulus that was randomly selected from the list of stimuli |
stimulus = stimulus(randperm(length(stimulus(:,1))),randperm(length(stimulus(1,:)))); | |
end | % scrambling the stimulus matrix, if the trial is a scrambled trial |
stim=Screen('MakeTexture', wPtr, double(stimulus)); % stimulus | |
% preparing the stimulus for presentation | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% Trial | |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% | |
% this section is only relevant to the first trial | |
if i == 1; | |
[nx, ny, box] = DrawFormattedText(wPtr, 'Press any key to start', 'center', 'center',[255 255 255]); | |
Screen('FrameRect', wPtr, 0, box); | |
[VBLTimestamp StimulusOnsetTim] = Screen('Flip', wPtr); | % for the first trial, the text “Press any key to start” is presented until a key is pressed |
KbWait([], 2); | |
[nx, ny, box] = DrawFormattedText(display.w, ' ', 'center', 'center',255); % blank screen | |
Screen('FrameRect', display.w, 0, box); | |
[VBLTimestamp StimulusOnsetTim] = Screen('Flip', wPtr); | |
end | |
% Fixation Cross | |
[nx, ny, bbox] = DrawFormattedText(wPtr, '+', 'center', 'center',255); | |
Screen('FrameRect', display.w, 0, bbox); | |
[VBLTimestamp StimulusOnsetTim] = Screen('Flip', wPtr); | % preparing a white plus sign in the centre of the screen as the fixation cross |
if netstation == 1; | % presenting the fixation cross |
NetStation('Event','fix+',StimulusOnsetTim) end | |
% sending a trigger with the time stamp of the fixation cross presentation and the code “fix+” to the EEG recording software | |
WaitSecs(0.15+rand*0.5) | % limiting presentation time of the fixation cross to a random duration between 0.15 and 0.2 sec |
% Stimulus | % presenting the face or scrambled face stimulus |
Screen('DrawTexture', wPtr, stim); | |
[VBLTimestamp StimulusOnsetTim] = Screen(wPtr, 'Flip'); | |
if netstation == 1; | % sending trigger with time stamp and code ‘face’ or ‘scra’ face to EEG recording software |
if randomizer == 1; | |
NetStation('Event','face',StimulusOnsetTim) | |
elseif randomizer == 2; | |
NetStation('Event','scra',StimulusOnsetTim) | |
end | |
end | |
WaitSecs(0.5) | % limit stimulus duration to 500 msec |
% presenting a blank screen | |
[nx, ny, box] = DrawFormattedText(wPtr, ' ', 'center', 'center',255); % blank screen | |
Screen('FrameRect', wPtr, 0, box); | |
[VBLTimestamp StimulusOnsetTim] = Screen('Flip',wPtr); | |
WaitSecs(1+rand(1)) | % inter trial interval with a random duration between 1 and 2 sec |
% Attention grabber | % present the attention grabber with sound |
Screen('DrawTexture', wPtr, grabber); | |
sounds = PsychPortAudio('Start', audio_handle,15, 0, 1); | |
[VBLTimestamp StimulusOnsetTim] = Screen('Flip',wPtr); | |
if netstation == 1; | |
NetStation('Event','grbr',StimulusOnsetTim) | % send the time stamp and code for the attention grabber to the EEG recording software |
end | |
% present the attention grabber and sound until a key on the keyboard is pressed | |
KbWait([], 2); | |
PsychPortAudio('Stop',audio_handle); | |
Screen('FrameRect', display.w, 0, box); | % abort the experiment, if the escape key was pressed |
[VBLTimestamp StimulusOnsetTim] = Screen('Flip',wPtr); | |
[keyIsDown, timeSecs, keyCode ] = KbCheck; if keyIsDown | |
if keyCode(escapeKey) | |
disp('ESC') | |
sca | |
NetStation('StopRecording') | |
return | |
end | |
end | % close the experiment and stop the EEG recording at the end of the experiment |
end | |
Screen('CloseAll'); | |
if netstation == 1; | |
NetStation('StopRecording') | |
end | |
Input for step 3.1.1 | Description |
OUTEEG = pop_eegfilt(INEEG,0.1,[]); | % OUTEEG = EEG data after filtering, i.e. function output |
% INEEG = EEG data before filtering, i.e. function input | |
% 0.1: high pass cut off frequency | |
% []: low-pass cut-off, undefined because a high-pass filter is desired | |
Input for step 3.1.2 | Description |
OUTEEG = pop_eegfilt(INEEG,[],30); | % []: high pass cut off, undefined because a low pass filter is desired |
% 30: low-pass cut-off frequency | |
Input for step 3.1.3 | Description |
OUTEEG = pop_epoch(INEEG,‘event’,{‘face’,‘scra’},[-0.2 0.6]); | % Epoching |
% ‘event’,{‘face’,‘scra’}: the function is told to use the trigger events ‘face’ and ‘scra’ as the time locking markers. These triggers were defined in the experiment script to mark the onset of face and scrambled face stimulus presentation onset. | |
% [-0.2 0.6] = time window for the ERP from 0.2 sec before the time-locking event to 0.6 sec | |
OUTEEG = pop_rmbase(EEG,[-0.2 0]); | % Removing the baseline |
% [-0.2 0]: baseline time window, i.e. 0.2 sec before the time-locking event to the time locking event | |
Input for step 3.1.4 | Description |
function [EEG] = threshold_rejection(EEG,threshold) | % function definition, the function requires an EEG dataset structure and a threshold in µV |
for j=1:2 | |
for i = 1:length(EEG.data(1,1,:)) | % this loops goes through all epochs in a given EEG data set |
data = EEG.data(:,:,i); | |
data = data – mean(data,2); | % subtracting the mean activity to avoid the influence of amplitude shifts |
maxima = max(abs(data'))'; | % identifying the maximum absolute activity in all channels |
bad_channels = maxima>threshold; | |
channel_rejection(:,i) = bad_channels; | |
if sum(bad_channels) > 0.2*128 | % If more than 20% of channels are above the threshold, the epoch is marked for rejection |
epoch_rejection(i) = 1; | |
else | |
epoch_rejection(i) = 0; | |
end | |
end | |
if j==1; | % selecting only the epochs that are not marked as bad |
EEG = pop_select(EEG,'trial',find(epoch_rejection==0)) | |
else | % mark channels that are bad in more than 20% of epochs after epoch rejection for channel rejection |
bad_channels = mean(channel_rejection,2)>0.2; | |
EEG = pop_interp(EEG,find(bad_channels == 1),'spherical'); | % apply spherical interpolation to bad channels |
end | |
end | |
Input for step 3.1.5 | Description |
EEG = pop_reref(EEG,[]); | % calculates the average reference |
Input for step 3.2.1 | Description |
channels = {'E84', 'E89', 'E90', 'E91', 'E94','E95','E96'}; % right N170 | % Occipito-temporal channels of the right hemisphere % for N170 responses using the channel labels for the % 128 channels Geodesic Hydrocel Sensor Net |
EEG = pop_select( EEG,'channel',channels); | % Selecting the channels |
Virtual_channel = mean(EEG.data,1); | % Combining the individual channels to a virtual channel |
Input for step 3.3.2 | Description |
N170_peak = max(abs((averaged_ERPs(0.13*srate+0.2*srate:0.2*srate+0.2*srate),[],2)); | % Maximum amplitude within a latency window for each participant in µV |
N170_peaklatency = 1000*(find(averaged_ERP(0.13*srate+0.2*srate:0.2*srate+0.2*srate) == N170_peak) + 0.2*EEG.srate + 0.13 EEG.srate)./EEG.srate | % Peak latency in msec |
N170_mean = mean(averaged_ERPs:,0.13*srate+0.2*srate:0.2*srate+0.2*srate),[],2); | % Mean amplitude in µV |
Table 1. MATLAB commands to implement the example experiment and analyze high-density EEG recordings on channel- and source-level. The table summarizes the code to implement the faces vs scrambled faces example experiment. Further, the code for pre processing the raw EEG is presented. In addition, methods for extracting waveform characteristics for channel level analysis of the event-related response are shown.
The present article describes the recording and analysis of high density EEG for reconstruction of cortical generators using boundary element models based on age appropriate average MRI templates and depth weighted minimum norm estimation in a standard ERP paradigm suitable for children. In this paradigm, pictures of faces and scrambled faces are presented. Different authors used this paradigm to investigate the development of face processing mechanisms over development35. On the channel level, more negative deflections over right occipito temporal channels are described for the face condition to the scrambled face condition. The topography, latency and response characteristic are consistent with the N170 component34. Previous source and simultaneous EEG fMRI investigations report that the fusiform gyrus is a likely generator of the N170 response. The results of the current analysis show that source inversion with a depth weighted boundary element model (BEM) can be used to localize source activity in the fusiform gyrus in the face scrambled face paradigm on the level of individual participants. The use of head models based on the individual participant’s anatomy or the use of age appropriate averaged anatomical scans for developmental studies, in which the individual anatomy is not available, will allow the most accurate source localization2. Further, regions of interest can be identified based on anatomical knowledge or automatic parcellation algorithms to investigate the event related response of particular cortical regions.
There are several limitations to source reconstruction, particularly in developmental samples, at the moment. First, source reconstruction based on average templates for different age groups assumes that the individual shows typical brain development for their chronological age, which might not necessarily be the case, especially in patient groups. For example, various studies described atypical trajectories in brain growth for children born preterm36 or children with autism37. It is hard to estimate how these anatomical differences will influence the accuracy of the inverse solution and bias results of comparisons between atypical and typical control groups.
Second, forward models such as the boundary element model (BEM) do not incorporate conductivity inhomogeneities within compartments, e.g., differences between grey and white matter. The accuracy for subcortical sources is therefore limited. Source solutions were restricted to cortical sources for that reason. Finite element models may be applied for more accurate resolution of subcortical generators. With solutions restricted to the cortex, it is important to keep in mind that activation in cortical regions may reflect underlying subcortical causative mechanisms, e.g., feedback communication via thalamic loops. Therefore, causal inferences about the involvement of cortical regions are limited unless more complex models are used that are currently only available for typical adult anatomy, e.g., Dynamic Causal Modelling38,39.
Further, Boundary element models assume closed shells for each compartment. However, young infants have soft spots in their skulls, where the sutures between the cranial bones are not fully merged15. This violation of BEM assumptions severely limits the applicability of source reconstruction with BEMs in infants younger than 2 years of age. Finite element models may be used for source reconstruction in this age range.
Third, even though age appropriate head models were used for source reconstruction, conductivity values based on adult samples were used to model conductivity within each compartment. However, tissue conductivity is likely to change over development, e.g., through increases in bone density15. Conductivity values for tissue types used in BEMs for human infants and children are currently not available to our knowledge.
The authors have nothing to disclose.
We want to thank Prof. John Richards, University of South Carolina, for granting us access to the Developmental MRI database and helpful discussions. We would also like to thank our funders Great Ormond Street Children’s Charity, UCL Impact & Grand Challenges.
High-density EEG sensor net (128 or 256 channels) | HydroCel Geodesic Sensor Net 128 | Electrical Geodesic Inc., Oregon, US | |
EEG high impendance amplifier | NetAmps 200 | Electrical Geodesic Inc., Oregon, US | |
Data Acquisition Computer | PowerMac G4 | Apple Inc, California, US | |
Stimulus Presentation Computer | Optiplex 745 | Dell Computers Inc., Texas, US | |
Stimulus Presentation Software | Matlab R2012b with PsychToolBox | Brainard et al. 1997 | |
EEG recording software | NetStation 4.5.1 | Electrical Geodesic Inc., Oregon, US | |
EEG analysis software | Matlab R2012b | The Mathworks Inc., | |
EEGLAB | Delorme et al. 2004 | ||
BrainStorm | Sylvain et al. 2001 | ||
MRI processing software | FreeSurfer | Fischl et al. 2004 | |
OpenMEEG | Gramfort et al. 2010 | ||
Referenzen | |||
Delorme, A., & Makeig, S. (2004). EEGLAB: an open source toolbox for analysis of single-trial EEG dynamics including independent component analysis. Journal of Neuroscience Methods, 134(1), 9–21. | |||
Sylvain, B., John, C., Dimitrios, P., & Richard, M. (2011). Brainstorm: A User-Friendly Application for MEG/EEG Analysis. Computational Intelligence and Neuroscience, 2011, 1–13. | |||
Fischl, B., Van Der Kouwe, A., Destrieux, C., Halgren, E., Ségonne, F., Salat, D. H., et al. (2004). Automatically parcellating the human cerebral cortex. Cerebral Cortex, 14(1), 11–22. | |||
Gramfort, A., Papadopoulo, T., Olivi, E., & Clerc, M. (2010). OpenMEEG: opensource software for quasistatic bioelectromagnetics. BioMedical Engineering OnLine, 9(1), 45. doi:10.1186/1475-925X-9-45 | |||
Brainard, D. H. (1997). The psychophysics toolbox. Spatial vision. |