Abstract
This paper describes methods to analyze the brain's electric fields recorded with multichannel Electroencephalogram (EEG) and demonstrates their implementation in the software CARTOOL. It focuses on the analysis of the spatial properties of these fields and on quantitative assessment of changes of field topographies across time, experimental conditions, or populations. Topographic analyses are advantageous because they are reference independents and thus render statistically unambiguous results. Neurophysiologically, differences in topography directly indicate changes in the configuration of the active neuronal sources in the brain. We describe global measures of field strength and field similarities, temporal segmentation based on topographic variations, topographic analysis in the frequency domain, topographic statistical analysis, and source imaging based on distributed inverse solutions. All analysis methods are implemented in a freely available academic software package called CARTOOL. Besides providing these analysis tools, CARTOOL is particularly designed to visualize the data and the analysis results using 3-dimensional display routines that allow rapid manipulation and animation of 3D images. CARTOOL therefore is a helpful tool for researchers as well as for clinicians to interpret multichannel EEG and evoked potentials in a global, comprehensive, and unambiguous way.
1. Introduction
The traditional analysis of the electroencephalogram (EEG) and event-related potentials (ERPs) focuses on waveform morphology over time at certain electrode positions. Scalp sites of interest are selected and the time course of the potential recorded at any site is analyzed using a variety of signal processing tools in the time and frequency domains. While this approach has provided many important insights into normal and pathological neuronal activity, it disregards another important dimension that multichannel EEG offers: the spatial characteristics of the electric fields at the scalp and the temporal dynamics of these fields. Any distribution and orientation of the active neurons at a given moment in time will generate a certain electric field on the scalp surface due to volume conduction [1]. While different generator configurations can lead to the same scalp fields, the inverse is not true: different scalp fields must have been generated by different configurations of generators in the brain [2, 3]. Consequently, analyzing the electric field topography, that is, the configuration of the potential isocontour maps on the scalp, and looking for topographical differences allows to detect moments when different neuronal populations were active in the brain, being it in time, between experimental conditions or under given pathological circumstances. Besides this direct neurophysiological interpretability, the analysis of the topography of the electric fields has another important advantage as compared to the analysis of waveforms: it is completely reference independent. The recording reference does not influence the topography of the scalp electric field and thus does not influence global topographic measures [4–6]. This is not true for methods that analyze the EEG or evoked potential waveforms. There is no point that records zero potential over time [4]. Consequently, changing the reference electrode changes the waveform shapes at each recording electrode. Therefore, any statistical comparison of amplitudes at a given electrode between conditions will change when the reference has changed, making the results ambiguous [7–9]. By contrast, the map topography does not change when changing the reference. Only the zero line is shifted, but not the landscape of the potential map [3]. Consequently, all analysis methods based on map topography are reference independent and unambiguous. This important argument for the spatial analysis of the EEG is illustrated in Figure 1.
With the program CARTOOL, which exists now since over 14 years with constantly increasing capabilities, we wanted to provide an analysis tool for those researchers and clinicians who are interested in such reference-free EEG mapping techniques. It started with dynamic displays of EEG maps and calculation of some basic quantitative topographic measures. Soon after, standard data preprocessing tools were implemented, such as interpolation of electrodes, filtering, averaging, rereferencing. The next versions implemented spatial analysis methods for spontaneous and event-related EEG, most importantly the spatial microstate segmentation, initially proposed by Lehmann and collaborators [11], and subsequently advanced by cluster analysis and fitting methods. Also, other statistical topographic analysis methods were implemented. With the development of distributed inverse solutions and the advancement of computer power, source estimations in realistic head models were integrated. Important aspects of the software are the 3-dimensional visualization of the data as well as the fast display of the temporal dynamics of the scalp electric fields and the corresponding estimated sources. For that, the software puts particular emphasis on interactive manipulation and synchronization of the different windows by the user, using mouse and keyboard commands.
In the following we will describe some of the main methods for the spatial analysis of the scalp electric fields and how they are implemented in CARTOOL. Not all methods will be covered here, but they will give an impression of how multichannel EEG and ERP data can be analyzed in a comprehensive way. More details regarding the different spatial analysis methods can be found in the book “Electrical Neuroimaging” [12].
2. Data Preprocessing
Topographic analysis of the electric field at the scalp very crucially depends on the quality of the data at each channel. Contamination by bad or noisy electrodes can lead to steep local gradients that have no neurophysiologic basis, which can in turn obfuscate interpretability of results (particularly those of source localization). Artifacts on one particular channel are not always easy to detect if only EEG waveforms are displayed. In contrast, contaminated channels are readily seen on time series of EEG maps because they behave differently from the neighboring channels and appear as isolated “spots” in the maps (Figure 2; see also [13]).
CARTOOL provides various options to display EEG maps in 2D and 3D and with dynamic color scaling (Figure 3). Maps can be displayed in series over time or as animated movies. Electrode positions and electrode names can be displayed and marked both on the maps and on the waveforms. After clicking on bad channels, an interpolation tool is available that interpolates these channels using any of several different types of interpolation methods (surface spline, spherical spline or 3D spline) [14]. The 3D spline interpolation accounts for the real geometry of the head and is recommended if the real position of the electrodes is available. The interpolation toolbox also allows transforming the individual data of different subjects with different electrode positions to a common coordinate system for further statistical processing across subjects.
Once the data are cleaned from bad electrodes and interpolated, several standard preprocessing tools are available in CARTOOL, such as:
filtering using 2nd-order Butterworth filters with −12 dB/octave roll-off,
DC removal and Notch filter, envelope filter by rectifying absolute or squared values.
downsampling by a Cascaded Integrator Comb filter followed by a high-pass FIR and decimation,
recalculation against any type of single or combined electrode reference including current density (i.e., 2nd spatial derivative),
exporting single or multiple tracks before or after applying the above preprocessing steps.
For evoked potential analysis, single or averaged epochs can be calculated for any combination of triggers or markers with or without baseline correction. Automatic artifact detection and epoch rejection using amplitude windows is available. CARTOOL puts a lot of emphasis in a flexible visualization of the EEG tracks during evoked potential analysis for manual determination of artifacts. During the evoked potential analysis, a trigger validation file is generated that can later be used to more rapidly redo the averaging with the same epochs.
In addition to the epoching according to defined triggers, CARTOOL allows to set markers according to specific characteristics in certain channels. This allows, for example, one to set markers at the onset of a motor response recorded with the EMG or at the peak of epileptic spikes.
Finally, a file calculator tool has been implemented in CARTOOL that allows applying preset as well as user-defined mathematical operations to different files in a batch-mode processing.
3. Global Topographic Measures
In the default display mode, CARTOOL always shows two global topographic measures together with the waveforms and the maps (Figure 3). These two global measures are the Global Field Power and the Global Map Dissimilarity [5]. They are considered as additional measures and can be treated in the same way as the different tracks of the electrodes. The Global Field Power (GFP) is the standard deviation of the potentials at all electrodes of an average-reference map. It is defined as
(1) |
where u i is the voltage of the map u at the electrode i, is the average voltage of all electrodes of the map u and N is the number of electrodes of the map u. Scalp potential fields with pronounced peaks and troughs and steep gradients will result in high GFP, while GFP is low in maps which have a “flat” appearance with shallow gradients. GFP is a one-number measure of the map at each moment in time. Displaying this measure over time allows to identify moments of high signal-to-noise ratio, corresponding to moments of high global neuronal synchronization [15, 16]. GFP can also be used to normalize data across subjects by dividing each map (i.e., the voltage at each electrode) by the mean GFP over time. General intra individual differences of the surface potential, for example due to difference in skull conductivity, can thereby be adjusted.
The Global Map Dissimilarity measure (GMD) is a measure of topographic differences of scalp potential maps. It is defined as
(2) |
where u i is the voltage of map u at the electrode i, v i is the voltage of map v at the electrode i, is the average voltage of all electrodes of map u, is the average voltage of all electrodes of map v, and N is the total number of electrodes. In order to assure that only topography differences are taken into account, the two maps that are compared are first normalized by dividing the potential values at each electrode of a given map by its GFP. The GMD is 0 when two maps are equal, and maximally reaches 2 for the case where the two maps have the same topography with reversed polarity. Figure 2 in [17] illustrates the definition of the GMD.
The GMD is equivalent to the spatial Pearson's product-moment correlation coefficient between the potentials of the two maps to compare [18]. The calculation of the GMD is a first step for defining whether different sources are involved in generating the electrical activity at the scalp for the two processes/populations being compared. If two maps differ in topography independently of their strength, it directly indicates that the two maps were generated by a different configuration of sources in the brain. As will be described later, all statistical topographic analysis methods in CARTOOL that compare topographies between conditions or groups use GMD (or the spatial correlation) as the basic measure of map similarity. GMD can also be used to compare topographies between successive time points. The display of the GMD across time then allows defining periods of map stability and moments of map changes. It is generally observed (particularly in evoked potentials) that GMD is inversely correlated with the GFP: GMD is high when GFP is low [19]. This observation indicates that maps tend to remain rather stable in topography during high GFP and change the configuration when GFP is low.
4. Microstate Segmentation
The display of the GMD across time has a very characteristic behavior which is similar for spontaneous EEG and for evoked potentials: the topography of the maps remains stable for several tens of milliseconds and then abruptly switches to a new configuration in which it remains stable again. This leads to periods of low GMD interrupted by sharp GMD peaks (Figure 3). This highly reproducible observation of periods of stable map topography has led to the concept of functional microstates first described by Lehmann et al. [11, 20]. The microstates correspond to a period of coherent synchronized activation of a large-scale neuronal network. Lehmann et al. proposed that the functional microstates represent the basic building blocks of information processing, the “atoms of thought”, being it spontaneous or evoked by a stimulus [21]. This corresponds well to the proposal that neurocognitive networks evolve through a sequence of quasistable coordination states, rather than a continuous flow of neuronal activity [22–25]. With respect to the ERPs, each successive microstate represents a certain information processing step that leads from perception to action [26]. While several parallel activations are possible and are most likely occurring in each step, there nonetheless seems to be a certain sequence of information processing, probably related to the integration of the information at different complexity levels [27].
In light of this interpretation of the observed sequential periods of map stability, different methods have been proposed to objectively and automatically define the different microstates and to statistically evaluate the specificity of certain microstates under given experimental conditions. CARTOOL has implemented these methods in the “microstate segmentation” and “map fitting” modules. The microstate segmentation is based on cluster analysis using either a modified k-means cluster analysis [28] or an atomize and agglomerate hierarchical cluster analysis with or without GFP normalization [17], followed by some temporal postprocessing steps. The k-means cluster analysis is a classical pattern recognition method used in many applications in different fields. It is an iterative procedure, starting with an initial guess of maps and terminating when successive iterations differ negligibly. Because of these iterations the result of the k-means cluster analysis can slightly vary from one run to the other. In contrast, the hierarchical cluster analysis that we devised specifically for microstate segmentation does not iterate and thus gives unique results. It is a modified agglomerative hierarchical clustering in a way that clusters that greatly contribute to the global explained variance are retained even if they are present for a short period of time only. More detailed explanation of the two methods can be found in [9].
The cluster analysis can be applied to one data file or to different files of different experimental conditions and/or populations (Figure 4). The result is a certain number of prototype maps (also called cluster maps) that best represent the whole data set. For defining the optimal number of cluster maps, CARTOOL proposes two criteria: a cross-validation criterion and the Krzanovski-Lai criterion [17]. The cross-validation is derived by dividing the global explained variance by the degrees of freedom, the latter depending on the number of electrodes. The Krzanovski-Lai criterion is determined by the L-corner of the dispersion curve, which is a quality measure of the clustering, meaning the optimal clustering is set when an additional cluster does not lead to a significant gain of the global quality (for details see [9]).
The cluster maps are finally fitted back to the original data and each time point is labeled with the cluster maps it correlated best with (in terms of GMD). In order to ensure a certain degree of continuity in time of the different a final relabeling step is performed which satisfies two requirements: (1) the correlation between the measurement and the cluster map should be high, and (2) the majority of the neighboring measurements should belong to the same microstate. Standard smoothing techniques, well-known in statistics, are used to fulfill this compromise between goodness of fit and smoothness [28]. CARTOOL allows adjusting these smoothness parameters. In addition, small segments can optionally be rejected. The result of the microstate segmentation is displayed color-coded under the GFP curve with each color representing a different cluster map. Additional options are available to sequentialize clusters and to merge highly correlated clusters.
Another method that has been proposed to define the most dominant evoked component topographies in a dataset is based on an independent component analysis (ICA, [29]). It has been shown that both ICA and cluster analysis lead to rather similar results and thus have compatible underlying assumptions [30, 31]. However, the main limitation of ICA is that it assumes that global brain activity is generated by a superimposition of a number of independent processes. While this assumption might be valid in the case of artifacts such as eye movements or cardiac activity, it is difficult to accept for brain activity, where the principal organization relies on distributed neural networks with tightly linked cross-talk between the different areas. In such systems, the different components are dynamically coupled and cannot be separated in independent components. ICA would fail to uncover such processes, while the cluster analysis does not require such independence.
The cluster analysis of ERPs is usually applied to the group-averaged files. All experimental conditions/populations are entered into the cluster analysis, and the optimal number of clusters for the whole data set is determined [27, 32]. The cluster maps are then fitted to the data by calculating the spatial correlation (the GMD, see above) between each cluster map and each time point of the data. Each time point is then labeled with the cluster map with which it correlates best. It is interesting to note that this fitting procedure results in stable periods that are represented by the same cluster map even though no temporal constraint is a priori imposed, thus directly and empirically confirming the microstate model. The labeling procedure and the display of the results of this labeling as color-coded segments under the GFP curves allows the experimenter to generate hypotheses about the specificity of certain microstate maps for certain experimental conditions/populations (Figure 4).
It is important to emphasize that the microstate segmentation on the grand mean data allows hypothesis generation and is not the final result. Changing the number of clusters might change the results at this level by proposing more or less map differences across time or between conditions. A second statistical step is needed to confirm these hypotheses and define those microstates that remain statistically significant. The “microstate fitting” module of CARTOOL allows to perform this test. The fitting procedure is the same as for the grand mean, but now the cluster maps are fitted to the individual ERPs of each subject and each condition/population [32] (Figure 4). Several different parameters are then computed that describe the goodness of fit, the number of maps that each cluster explained, the onset and the offset of each cluster map, and so forth [17]. Spreadsheets are generated with these values that can directly be read into any statistical software package as well as into Excel, but that can also directly be used in the statistical analysis module in CARTOOL. Only microstates that are significantly different after this statistical fitting procedure are considered as stable. Users will realize that in most cases increasing the number of clusters beyond the one proposed by the cross-validation or other optimization criterion will not lead to new microstates that survive the statistical tests.
The microstate segmentation using the cluster analysis can also be applied to spontaneous EEG. It leads to a reduction of the data to a stream of microstates of certain durations, on average around 80–100 msec [33]. It is important to note that in the spontaneous EEG polarity inversion caused by the intrinsic oscillatory activity of the generator processes is ignored. Numerous studies in healthy subjects as well as in patients with different pathologies have shown that a very limited number of map topographies are needed to explain extended periods of spontaneous EEG, and that these few configurations follow each other according to certain rules [34]. We have shown that these different microstates are correlated with well-known fMRI resting states [35]. Analysis of the temporal structure of the microstate transitions showed that the microstates have fractal properties, that is, that their temporal structure is scale invariant over a large time scale [36].
5. Statistical Analysis Using CARTOOL
CARTOOL offers a variety of parametric and non-parametric statistical EEG mapping analysis procedures (Figure 5). Non-parametric tests are based on Monte-Carlo bootstrapping methods, while the parametric tests use paired or non-paired t-tests. At present, only univariate statistics are implemented in CARTOOL, but multivariate analysis procedures are currently under evaluation before formal inclusion. The univariate analysis can be applied to the potential at each electrode and each time point as a comprehensive exploratory analysis of the data [10, 37, 38]. It is important to note, however, that this analysis is reference-dependent and does not tell us whether topographic or amplitude differences underlie the observed effects (Figure 1). Also the problem for corrections of multiple testing is ill posed. CARTOOL offers Bonferroni corrections as well as the application of the restriction that effects last a certain minimal duration [39]. In order to separately assess strength and topographic differences, CARTOOL proposes statistical analyses using the global variables described above, that is, the GFP and the GMD.
Testing for differences in GFP at each time point is straightforward using the parametric or nonparametric tests. In order to test for differences in topography, CARTOOL implemented what has been called a “topographic ANOVA”, or TANOVA [17, 40]. Since GMD is a single measure of difference between the maps of two conditions, mean and standard error of topography for each condition/population cannot be calculated. The way to overcome this problem is to perform a non-parametric randomization test based on the GMD values. This is done in the following way: (1) assigning the maps of the single subject in a randomized fashion to different experimental conditions, (2) recalculating the group-average ERPs, and (3) recalculating the resulting GMD value for these “new” group-average ERPs. The number of permutations that can be made with a group-average ERP based on n participants is 2n. The GMD value from the actual group-average ERPs is then compared with the values from the empirical distribution to determine the likelihood that the empirical distribution has a value higher than the GMD from the actual group-average ERPs. In a within-subject design, the permutation of the maps is done within the subjects, while the permutation is done across subjects in group comparisons. In the example shown in Figure 5, the TANOVA is performed between two conditions for each time point. The figure illustrates the simplicity of the analysis of the global parameters GFP and GMD compared to the electrode-wise statistics (besides the fact that the latter are reference independent). However, it is important to note here that a latency shift of one condition with respect to the other could lead to strong and long topographic differences that are in fact not due to different areas being activated by the two conditions, but by activations of the same areas at different moments in time. The comparison of the TANOVA result with the microstate segmentation is therefore important.
The statistical analysis can also be performed on the values that result from the microstate fitting procedure. Again, only univariate statistics are currently implemented. For multivariate analysis the spreadsheets have to be read into other statistical packages. Ongoing developments are underway for the implementation of multivariate statistics [41, 42] as well as other topographic analysis methods such as the test for ERP component stability recently proposed by Koenig and Melie-García [16].
6. Frequency Analysis of Multichannel EEG
Quantitative analysis of spontaneous EEG has traditionally relied on Fourier-transformation based spectral analysis. Thereby, the power of the different frequencies or frequency bands is compared between different conditions/populations. In multichannel data, power maps are often used and statistical maps of power differences are calculated. This approach has been very successful and helped to characterize vigilance changes, sleep stages, drug effects and various neurological and psychiatric disorders [43]. More recently, time resolved frequency analysis has been applied to spontaneous EEG using wavelet procedures [44]. CARTOOL has implemented these frequency analysis methods using FFT as well the S-transform. Windows can flexibly be defined with variable amount of overlap.
However, frequency power maps have two important problems. First, they are reference-dependent. In contrast to potential maps in the time domain, power maps in the frequency domain change when the position of the recording reference changes [45, 46]. Second, power maps ignore the phase differences between the electrodes. Only the amplitude is considered. Therefore, source localization of power maps is not possible [47]. Ignoring the phase relationship between electrodes is unfortunate, because they are determined by the configuration and interaction of the intercerebral sources. In order to perform source localization in the frequency domain, the inverse solutions have to be calculated for the complex data derived from the FFT. Consequently, inverse solutions in the frequency domain are initially complex [48]. An efficient way to perform distributed source localizations of a large number of EEG epochs in the frequency domain is to first compute average cross-spectral matrices [49]. Another, more simplified way is to approximate the power maps by maps where all electrodes have a common phase. This method has been called FFT-approximation [47]. It is based on the calculation of the first principal component of the data in the complex plane. The results are single-phase approximated potential map for each frequency that can be subjected to source estimation methods. It has initially been developed for single equivalent dipole localization methods, because a single dipole cannot account for phase differences between electrodes. However, distributed source estimation algorithms can also be applied to these maps in order to localize the distribution of all sources that are oscillating in phase. The FFT-Approximation method is implemented in CARTOOL.
7. Source Localization
While the analysis of the scalp potential maps as described up to now has the advantage, as compared to waveform analysis, to be reference independent and considers the whole brain electrical activity, it does not provide any direct conclusions about the number, location and orientation of the intracranial generators [50]. Inverse solution methods are required to estimate these sources.
A major breakthrough in the spatial analysis of multichannel EEG/MEG was the development of distributed inverse solution methods that allow the estimation of the 3-dimensional distribution of neuronal activity in the whole brain at each moment in time [3, 51, 52]. The stability and reliability of these methods are impressive, and they have been validated by several direct comparisons with intracranial recordings, lesion studies and other neuroimaging methods [53]. The advancement in this field has tremendously boosted the use of electrophysiological methods in experimental and clinical studies because of the major advantages that the high temporal resolution provides. CARTOOL has implemented some of the major distributed linear inverse solutions, namely the weighted minimum norm solution (WMN) [54], the low resolution electromagnetic tomography (LORETA) [55] and the local autoregressive average (LAURA) [56] and EPIFOCUS [57]. CARTOOL calculates the inverse matrices for these different source models. It is well known that the regularization parameter can strongly influence the inverse solutions. It cannot only eliminate, but also create “ghost sources” in case of overfitting the data [58]. CARTOOL uses the L-curve method [59] to find the optimal regularization value for a given data file. This optimal value is used as default display, but the user has the possibility to toggle through stronger and weaker regularizations that are also stored in the inverse matrix. The inverse matrices are multiplied online with the EEG data and displayed for each time point using different display options. Currently, the so-called SMAC (Spherical Model with Anatomical Constraints) head model [60] as well as a more complex head models based on local spheres are available, both applied either to the individual MRI (if available) or to template MRIs. In the SMAC model, the full head is transformed to a sphere through a non-linear warping function based on the surface of the scalp. The mean radius of the scalp, skull and brain are then used for a 3-shell model. Depending on brain size, between 3000 and 5000 solution points are then defined in regular distances within the gray matter. This also includes deeper brain structures such as the amygdala, hippocampus and thalamic structures, as long as they are recognized as grey matter. The forward problem is then solved with an analytical solution using this “realistic” (i.e., individual) head model without any constraints on dipole orientation. The LSMAC model (Locally Spherical Model with Anatomical Constrains), on the contrary, does not need this initial spherization step. Instead, at each electrode locus, an adaptive local spherical model is used. To do so, and sequentially under each electrode, the thicknesses of the scalp, skull and brain are estimated. These thicknesses are then used in a 3-shell spherical model with the local radiuses, allowing the real geometry between solution points and electrodes to be accounted for. The SMAC and LSMAC methods are illustrated in Figure 6.
The results of the inverse solutions (norm or vectors) are displayed 3-dimensionally in the real (i.e., untransformed) MRI (Figure 7). Slices in all orientations can be shown as well as the solutions on surface-rendered images. The inverse solution results can be stored as matrices for further statistical processing (source waveform analysis), or as volumes for fusioning with other neuroimaging results or for importing into other image analysis tools such as SPM.
It is worthwhile to note that the segmentation of the brain surface and the grey matter is implemented in CARTOOL including manual correction tools to exclude incorrect classification of grey matter or exclude structures as brainstem and cerebellum if desired. Alternatively, already segmented brains can be read into CARTOOL if preferred, such as standard template brains. Also the warping transformations as well as the distribution of the solution points are done within CARTOOL. Thus, the whole source localization process can be performed within CARTOOL, starting with the original EEG and the original MRI.
Besides source reconstruction in the individual MRI, CARTOOL can also use template brains such as the MNI brain. In this case the solution space remains the same for all subjects, allowing group studies on the source level. In the case of the MNI brain, all solution points are labeled with their Talairach coordinates as well as their anatomical labels. Time periods of interest (e.g., the microstates) or regions of interest (ROI) can be created and the mean current density within these segments or ROI can be stored for further statistical analysis [61]. Finally, the source waveforms can be stored and further treated in CARTOOL like scalp electrode traces.
8. Additional Implementations
Several other analysis tools are available in CARTOOL. In addition to the analysis of scalp EEG, CARTOOL also allows to visualize and analyze intracranial EEG, to read and fusion 3D images of different imaging modalities, to create and work with 3D regions of interest, and to convert and manipulate MR images.
The analysis of intracranial recordings includes the color-coded mapping of grids as well as along depth electrodes (Figure 8). Intracranial electrodes are directly fused with the patient's MRI if the exact positions are available. Depth shifting tricks allow the experimenter to see the potentials of the depth electrodes within the MRI.
CARTOOL can read any type of 3D volumes in Analyze format. In case of functional images (fMRI or PET) the activation areas are displayed as colored blobs within the MRI. Several different volumes can be overlapped and thus results of different imaging modalities (including the inverse solutions) can be displayed within the same MRI. MRIs can also be manipulated and converted in various ways and stored as new volumes.
A large palette of 3D display tools is available in CARTOOL that allows flexible visualization of the data. Any 3D object can be inserted into another one by a single click, allowing the merging of different information instantly, while retaining the spatial coherence of the objects. Different windows can easily be synchronized, allowing the user to visualize the dynamic behavior of the data on traces, maps and inverse solutions simultaneously (Figure 9).
9. Ongoing Developments
CARTOOL is constantly implementing new analysis methods that appear as useful and have been published. Concerning the statistical analysis, multivariate methods will soon be implemented. The TANOVA described above can easily be extended to multivariate measures [42]. Also tests of topographic consistency across subjects based on randomization tests of GFP are promising and will be implemented soon [16].
Concerning microstate segmentation, De Lucia et al. [31, 62] proposed a variation of the cluster analysis described above to apply to single-trial ERP data. The method proposes to model the overall electrical response, that is, the event-related and the ongoing activity, as a mixture of Gaussians, in an N-dimensional space, where N is the number of the electrodes. The computation is initialized by a K-means algorithm, which iteratively improves the estimation of means, covariances and priors of the Q Gaussians until the likelihood reaches a plateau. For each time point and trial it then provides Q conditional probabilities that relate the topographies to the clusters. Like in the labeling procedure described above, each time point and trial is then labeled with the cluster with which it has highest conditional probability. The method has been shown to reliably identify specific component maps in the single trial ERPs despite the clear dominance of the ongoing spontaneous EEG activity.
An important new development in the field of EEG/MEG analysis is the measure of connectivity between different brain areas as a way to understand the organized behavior of different brain regions [63]. The use of EEG data to examine the functional connectivity has a long history [64, 65] and a variety of techniques have been used, most prominently the calculation of cross-correlation or phase synchronization between pairs of scalp electrodes or sensors [66]. Also graph-theory-based tools from the study of complex network have been proposed [67]. The problem with such analysis on the scalp surface is that the interpretation with respect to the sources that generated the connectivity between electrodes is ambiguous because of the spreading of electromagnetic signals from the cortex to the sensors. More appropriate is the use of connectivity measures in the inverse space. A popular method that is often applied to MEG data (but can also be used for EEG) is the so-called dynamic imaging of coherent sources (DICS), proposed by [68]. This method uses a beamformer spatial filter to identify coherent sources in the brain for specific frequency bands. Like other spectral coherence methods, DICS does not give information of the direction of information flow. Several alternative methods have therefore been proposed that are based on the Granger causality theory and multivariate autoregressive models such as Partial Directed Coherence [69] or the Directed Transfer Function [70]. Applying these methods to the data in the inverse space after applying the distributed linear inverse solutions described above will allow estimating the flow of electrical information in large-scale neuronal networks in real time. Such methods will be implemented in future versions of CARTOOL together with other promising distributed inverse solutions and head models that currently emerge in the literature.
10. Software Details
CARTOOL is not an Open Source project; however the program is distributed freely to any nonprofit research group. Users need to register only once and will then be informed of any updates of the software. They are asked to cite the use of CARTOOL in the Methods and Acknowledgements sections of their papers. Currently about 650 users from all over the world have registered and downloaded CARTOOL.
CARTOOL runs only on Windows platforms (ranging from Windows 95 up to Windows 7) as a standalone compiled executable program, included with its complete documentation within a single installation program. It is fully written in C++ in order to attain the highest speed and compactness in memory use. The advanced display is completely done in OpenGL, so it needs an OpenGL accelerated graphic card, and as much memory as possible for the most demanding operations. Matlab is not needed to run CARTOOL.
Interoperability is achieved mainly by exchanging intermediate results through files. Considerable efforts have been put in reading and writing standard files with a maximum of convenience for the user. For example, most of the operations can be done by Drag & Drop in CARTOOL, the landing of the drop usually conditioning the actions to be undertaken on the files.
Help is provided at different levels. A thorough Reference Guide, describing all the options and technical details for all processes, is included in the distribution in the form of compiled HTML (10 MB chm file). In addition a CARTOOL Community group (Google Sites) has been built in order to offer a central access for the users, which includes a User's Guide, collaboratively edited as a Wiki, a Discussion Forum for all questions and announcements, some FAQs, and a few shared files. Finally, it is worth noting that CARTOOL updates, including Beta releases, can be easily assessed online through a Google Docs repository.
Here are the main internet addresses for CARTOOL:
Files formats read by CARTOOL include formats produced by the EEG systems form the companies Biologic, Biosemi, Brain Products, Deltamed, EGI, and Neuroscan. Also EDF format and standard text files can be read. Concerning MRI, Analyze and AVS formats are read. A complete list of file formats is included in the Reference Guide of Cartrool.
Acknowledgments
The development of CARTOOL is supported by the Center for Biomedical Imaging (CIBM) of the Universities of Geneva and Lausanne, The Swiss Federal Institute of Technology in Lausanne (EPFL), and the University Hospitals of Geneva and Lausanne, Switzerland. This work has been supported by the Swiss National Science Foundation (Grant no. 33CM30-124089, and no. 310030-132952 to C. M. Michel and 310030B-133136 to M. M. Murray).
References
- 1.Nunez PL, Srinivasan R. Electric Fields of the Brain: The Neurophysics of EEG. 2nd edition. New York, NY, USA: Oxford University Press; 2006. [Google Scholar]
- 2.Vaughan HG. The neural origins of human event-related potentials. Annals of the New York Academy of Sciences. 1982;388:125–138. doi: 10.1111/j.1749-6632.1982.tb50788.x. [DOI] [PubMed] [Google Scholar]
- 3.Michel CM, Murray MM, Lantz G, Gonzalez S, Spinelli L, Grave De Peralta R. EEG source imaging. Clinical Neurophysiology. 2004;115(10):2195–2222. doi: 10.1016/j.clinph.2004.06.001. [DOI] [PubMed] [Google Scholar]
- 4.Geselowitz DB. The zero of potential. IEEE Engineering in Medicine and Biology Magazine. 1998;17(1):128–136. doi: 10.1109/51.646230. [DOI] [PubMed] [Google Scholar]
- 5.Lehmann D, Skrandies W. Reference-free identification of components of checkerboard-evoked multichannel potential fields. Electroencephalography and Clinical Neurophysiology. 1980;48(6):609–621. doi: 10.1016/0013-4694(80)90419-8. [DOI] [PubMed] [Google Scholar]
- 6.Pascual-Marqui RD, Lehmann D. Topographic maps, source localization inference, and the reference electrode: comments on a paper by Desmedt et al. Electroencephalography and Clinical Neurophysiology. 1993;88(6):532–533. doi: 10.1016/0168-5597(93)90043-o. [DOI] [PubMed] [Google Scholar]
- 7.Dien J. Issues in the application of the average reference: review, critiques, and recommendations. Behavior Research Methods, Instruments, and Computers. 1998;30(1):34–43. [Google Scholar]
- 8.Koenig T, Gianotti LRR. Scalp field maps and their characterization. In: Michel CM, et al., editors. Electrical Neuroimaging. Cambridge, UK: Cambridge University Press; 2009. pp. 25–48. [Google Scholar]
- 9.Murray MM, et al. Principles of topographic analyses for electrical neuroimaging. In: Handy TC, editor. Brain Signal Analysis. Cambridge, Mass, USA: The MIT Press; 2009. pp. 21–54. [Google Scholar]
- 10.Murray MM, Wylie GR, Higgins BA, Javitt DC, Schroeder CE, Foxe JJ. The spatiotemporal dynamics of illusory contour processing: combined high-density electrical mapping, source analysis, and functional magnetic resonance imaging. Journal of Neuroscience. 2002;22(12):5055–5073. doi: 10.1523/JNEUROSCI.22-12-05055.2002. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 11.Lehmann D. Multichannel topography of human alpha EEG fields. Electroencephalography and Clinical Neurophysiology. 1971;31(5):439–449. doi: 10.1016/0013-4694(71)90165-9. [DOI] [PubMed] [Google Scholar]
- 12.Michel CM, et al., editors. Electrical Neuroimaging. Cambridge, UK: Cambridge University Press; 2009. [Google Scholar]
- 13.Michel CM, Brandeis D. Data acquisition and pre-processing standards for electrical neuroimaging. In: Michel CM, Koenig T, Brandeis D, Gianotti LRR, Wackermann J, editors. Electrical Neuroimaging. Cambridge, UK: Cambridge University Press; 2009. pp. 79–92. [Google Scholar]
- 14.Perrin F, Pernier J, Bertrand O, Echallier JF. Spherical splines for scalp potential and current density mapping. Electroencephalography and Clinical Neurophysiology. 1989;72(2):184–187. doi: 10.1016/0013-4694(89)90180-6. [DOI] [PubMed] [Google Scholar]
- 15.Skrandies W. The effect of stimulation frequency and retinal stimulus location on visual evoked potential topography. Brain Topography. 2007;20(1):15–20. doi: 10.1007/s10548-007-0026-1. [DOI] [PubMed] [Google Scholar]
- 16.Koenig T, Melie-García L. A method to determine the presence of averaged event-related fields using randomization tests. Brain Topography. 2010;23(3):233–242. doi: 10.1007/s10548-010-0142-1. [DOI] [PubMed] [Google Scholar]
- 17.Murray MM, Brunet D, Michel CM. Topographic ERP analyses: a step-by-step tutorial review. Brain Topography. 2008;20(4):249–264. doi: 10.1007/s10548-008-0054-5. [DOI] [PubMed] [Google Scholar]
- 18.Brandeis D, Naylor H, Halliday R, Callaway E, Yano L. Scopolamine effects on visual information processing, attention, and event-related potential map latencies. Psychophysiology. 1992;29(3):315–336. doi: 10.1111/j.1469-8986.1992.tb01706.x. [DOI] [PubMed] [Google Scholar]
- 19.Lehmann D. Principles of spatial analysis. In: Gevins AS, Remont A, editors. Methods of Analysis of Brain Electrical and Magnetic Signals. Amsterdam, The Netherlands: Elsevier; 1987. pp. 309–354. [Google Scholar]
- 20.Lehmann D, Ozaki H, Pal I. EEG alpha map series: brain micro-states by space-oriented adaptive segmentation. Electroencephalography and Clinical Neurophysiology. 1987;67(3):271–288. doi: 10.1016/0013-4694(87)90025-3. [DOI] [PubMed] [Google Scholar]
- 21.Lehmann D, Pascual-Marqui R, Michel CM. EEG microstates. Scholarpedia. 2009;4(3):p. 7632. [Google Scholar]
- 22.Baars BJ. The conscious access hypothesis: origins and recent evidence. Trends in Cognitive Sciences. 2002;6(1):47–52. doi: 10.1016/s1364-6613(00)01819-2. [DOI] [PubMed] [Google Scholar]
- 23.Bressler SL, Tognoli E. Operational principles of neurocognitive networks. International Journal of Psychophysiology. 2006;60(2):139–148. doi: 10.1016/j.ijpsycho.2005.12.008. [DOI] [PubMed] [Google Scholar]
- 24.Grossberg S. The complementary brain: unifying brain dynamics and modularity. Trends in Cognitive Sciences. 2000;4(6):233–246. doi: 10.1016/s1364-6613(00)01464-9. [DOI] [PubMed] [Google Scholar]
- 25.Changeux J-P, Michel CM. Mechanism of neural integration at the brain-scale level. In: Grillner S, Graybiel AM, editors. Microcircuits. Cambridge, Mass, USA: The MIT Press; 2004. pp. 347–370. [Google Scholar]
- 26.Murray MM, et al. Principles of topographic analyses for electrical neuroimaging. In: Handy TC, editor. Brain Signal Analysis: Advances in Neuroelecric and Neuromagnetic Methods. London, UK: The MIT Press; 2009. pp. 21–54. [Google Scholar]
- 27.Michel CM, Seeck M, Landis T. Spatiotemporal dynamics of human cognition. News in Physiological Sciences. 1999;14(5):206–214. doi: 10.1152/physiologyonline.1999.14.5.206. [DOI] [PubMed] [Google Scholar]
- 28.Pascual-Marqui RD, Michel CM, Lehmann D. Segmentation of brain electrical activity into microstates: model estimation and validation. IEEE Transactions on Biomedical Engineering. 1995;42(7):658–665. doi: 10.1109/10.391164. [DOI] [PubMed] [Google Scholar]
- 29.Bell AJ, Sejnowski TJ. An information-maximization approach to blind separation and blind deconvolution. Neural Computation. 1995;7(6):1129–1159. doi: 10.1162/neco.1995.7.6.1129. [DOI] [PubMed] [Google Scholar]
- 30.Pourtois G, Delplanque S, Michel C, Vuilleumier P. Beyond conventional event-related brain potential (ERP): exploring the time-course of visual emotion processing using topographic and principal component analyses. Brain Topography. 2008;20(4):265–277. doi: 10.1007/s10548-008-0053-6. [DOI] [PubMed] [Google Scholar]
- 31.De Lucia M, Michel CM, Murray MM. Comparing ICA-based and single-trial topographic ERP analyses. Brain Topography. 2010;23:119–127. doi: 10.1007/s10548-010-0145-y. [DOI] [PubMed] [Google Scholar]
- 32.Pegna AJ, Khateb A, Spinelli L, Seeck M, Landis T, Michel CM. Unraveling the cerebral dynamics of mental imagery. Human Brain Mapping. 1997;5(6):410–421. doi: 10.1002/(SICI)1097-0193(1997)5:6<410::AID-HBM2>3.0.CO;2-6. [DOI] [PubMed] [Google Scholar]
- 33.Koenig T, Prichep L, Lehmann D, et al. Millisecond by millisecond, year by year: normative EEG microstates and developmental stages. NeuroImage. 2002;16(1):41–48. doi: 10.1006/nimg.2002.1070. [DOI] [PubMed] [Google Scholar]
- 34.Lehmann D, Faber PL, Galderisi S, et al. EEG microstate duration and syntax in acute, medication-naïve, first-episode schizophrenia: a multi-center study. Psychiatry Research. 2005;138(2):141–156. doi: 10.1016/j.pscychresns.2004.05.007. [DOI] [PubMed] [Google Scholar]
- 35.Britz J, van de Ville D, Michel CM. BOLD correlates of EEG topography reveal rapid resting-state network dynamics. NeuroImage. 2010;52(4):1162–1170. doi: 10.1016/j.neuroimage.2010.02.052. [DOI] [PubMed] [Google Scholar]
- 36.van de Ville D, Britz J, Michel CM. EEG microstate sequences in healthy humans at rest reveal scale-free dynamics. Proceedings of the National Academy of Sciences of the United States of America. 2010;107(42):18179–18184. doi: 10.1073/pnas.1007841107. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 37.Murray MM, Foxe DM, Javitt DC, Foxe JJ. Setting boundaries: brain dynamics of modal and amodal illusory shape completion in humans. Journal of Neuroscience. 2004;24(31):6898–6903. doi: 10.1523/JNEUROSCI.1996-04.2004. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 38.Khateb A, Pegna AJ, Landis T, Mouthon MS, Annoni JM. On the origin of the N400 effects: an ERP waveform and source localization analysis in three matching tasks. Brain Topography. 2010;23(3):311–320. doi: 10.1007/s10548-010-0149-7. [DOI] [PubMed] [Google Scholar]
- 39.Guthrie D, Buchwald JS. Significance testing of difference potentials. Psychophysiology. 1991;28(2):240–244. doi: 10.1111/j.1469-8986.1991.tb00417.x. [DOI] [PubMed] [Google Scholar]
- 40.Kondakor I, Pascual-Marqui RD, Michel CM, Lehmann D. Event-related potential map differences depend on the prestimulus microstates. Journal of Medical Engineering and Technology. 1995;19(2-3):66–69. doi: 10.3109/03091909509030277. [DOI] [PubMed] [Google Scholar]
- 41.Wirth M, Horn H, Koenig T, et al. The early context effect reflects activity in the temporo-prefrontal semantic system: evidence from electrical neuroimaging of abstract and concrete word reading. NeuroImage. 2008;42(1):423–436. doi: 10.1016/j.neuroimage.2008.03.045. [DOI] [PubMed] [Google Scholar]
- 42.Koenig T, Melie-Garcia L. Statistical analysis of multichannel scalp field data. In: Michel CM, et al., editors. Electrical Neuroimaging. Cambridge, UK: Cambridge University Press; 2009. pp. 169–189. [Google Scholar]
- 43.John E, Prichep L, Easton P. Normative data banks and neurometrics. Basic concepts, methods and results of norm constructions. In: Gevins AS, Remond A, editors. Handbook of Electroencephalography and Clinical Neurophysiology. Vol.1: Methods of Analysis of Brain Electrical an Magnetic Signals. Amsterdam, The Netherlands: Elsevier; 1987. pp. 449–496. [Google Scholar]
- 44.Le Van Quyen M, Foucher J, Lachaux JP, et al. Comparison of Hilbert transform and wavelet methods for the analysis of neuronal synchrony. Journal of Neuroscience Methods. 2001;111(2):83–98. doi: 10.1016/s0165-0270(01)00372-7. [DOI] [PubMed] [Google Scholar]
- 45.Lehmann D, Ozaki H, Pal I. Averaging of spectral power and phase via vector diagram best fits without reference electrode or reference channel. Electroencephalography and Clinical Neurophysiology. 1986;64(4):350–363. doi: 10.1016/0013-4694(86)90160-4. [DOI] [PubMed] [Google Scholar]
- 46.Koenig T, Pascual-Marqui RD. Multichannel frequency and time-frequency analysis. In: Michel CM, et al., editors. Electrical Neuroimaging. Cambridge, UK: Cambridge University Press; 2009. pp. 145–168. [Google Scholar]
- 47.Lehmann D, Michel CM. Intracerebral dipole source localization for FFT power maps. Electroencephalography and Clinical Neurophysiology. 1990;76(3):271–276. doi: 10.1016/0013-4694(90)90022-c. [DOI] [PubMed] [Google Scholar]
- 48.Koenig T, Marti-Lopez F, Valdes-Sosa P. Topographic time-frequency decomposition of the EEG. NeuroImage. 2001;14(2):383–390. doi: 10.1006/nimg.2001.0825. [DOI] [PubMed] [Google Scholar]
- 49.Frei E, Gamma A, Pascual-Marqui R, Lehmann D, Hell D, Vollenweider FX. Localization of MDMA-induced brain activity in healthy volunteers using low resolution brain electromagnetic tomography (LORETA) Human Brain Mapping. 2001;14(3):152–165. doi: 10.1002/hbm.1049. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 50.Fender DH. Source localization of brain electrical activity. In: Gevins AS, Remont A, editors. Methods of Analysis of Brain Electrical and Magnetic Signals. Amsterdam, The Netherlands: Elsevier; 1987. pp. 355–403. [Google Scholar]
- 51.Hämälainen MS. Tech. Rep. TKK-F-A559. Espoo, Finland: Helsinki University of Technology; 1984. Interpreting measured magnetic fields of the brain: estimates of current distributions. [Google Scholar]
- 52.He B, Lian J. Electrophysiological neuroimaging: solving the EEG inverse problem. In: He B, editor. Neuroal Engineering. Norwell, Mass, USA: Kluwer Academic Publishers; 2005. pp. 221–261. [Google Scholar]
- 53.Pascual-Marqui RD, et al. Imaging the electrical neuronal generators of EEG/MEG. In: Michel CM, et al., editors. Electrical Neuroimaging. Cambridge, UK: Cambridge University Press; 2009. [Google Scholar]
- 54.Lin FH, Witzel T, Ahlfors SP, Stufflebeam SM, Belliveau JW, Hämäläinen MS. Assessing and improving the spatial accuracy in MEG source localization by depth-weighted minimum-norm estimates. NeuroImage. 2006;31(1):160–171. doi: 10.1016/j.neuroimage.2005.11.054. [DOI] [PubMed] [Google Scholar]
- 55.Pascual-Marqui RD, Michel CM, Lehmann D. Low resolution electromagnetic tomography: a new method for localizing electrical activity in the brain. International Journal of Psychophysiology. 1994;18(1):49–65. doi: 10.1016/0167-8760(84)90014-x. [DOI] [PubMed] [Google Scholar]
- 56.Grave de Peralta Menendez R, Murray MM, Michel CM, Martuzzi R, Gonzalez Andino SL. Electrical neuroimaging based on biophysical constraints. NeuroImage. 2004;21(2):527–539. doi: 10.1016/j.neuroimage.2003.09.051. [DOI] [PubMed] [Google Scholar]
- 57.Grave de Peralta Menendez R, Andino SG, Lantz G, Michel CM, Landis T. Noninvasive localization of electromagnetic epileptic activity. I. Method descriptions and simulations. Brain Topography. 2001;14(2):131–137. doi: 10.1023/a:1012944913650. [DOI] [PubMed] [Google Scholar]
- 58.Fuchs M, Wagner M, Köhler T, Wischmann HA. Linear and nonlinear current density reconstructions. Journal of Clinical Neurophysiology. 1999;16(3):267–295. doi: 10.1097/00004691-199905000-00006. [DOI] [PubMed] [Google Scholar]
- 59.Hansen P. Analysis of discrete Ill-posed problems by means of the L-curve. SIAM Review. 1992;34:561–580. [Google Scholar]
- 60.Spinelli L, Andino SG, Lantz G, Seeck M, Michel CM. Electromagnetic inverse solutions in anatomically constrained spherical head models. Brain Topography. 2000;13(2):115–125. doi: 10.1023/a:1026607118642. [DOI] [PubMed] [Google Scholar]
- 61.James CE, Britz J, Vuilleumier P, Hauert CA, Michel CM. Early neuronal responses in right limbic structures mediate harmony incongruity processing in musical experts. NeuroImage. 2008;42(4):1597–1608. doi: 10.1016/j.neuroimage.2008.06.025. [DOI] [PubMed] [Google Scholar]
- 62.De Lucia M, et al. Single subject EEG analysis based on topographic information. International Journal of Bioelectromagnetism. 2007;9:168–171. [Google Scholar]
- 63.Ioannides AA. Dynamic functional connectivity. Current Opinion in Neurobiology. 2007;17(2):161–170. doi: 10.1016/j.conb.2007.03.008. [DOI] [PubMed] [Google Scholar]
- 64.Adey WR, Walter DO, Hendrix CE. Computer techniques in correlation and spectral analyses of cerebral slow waves during discriminative behavior. Experimental Neurology. 1961;3(6):501–524. doi: 10.1016/s0014-4886(61)80002-2. [DOI] [PubMed] [Google Scholar]
- 65.Gevins AS, Cutillo BA, Bressler SL, et al. Event-related covariances during a bimanual visuomotor task. II. Preparation and feedback. Electroencephalography and Clinical Neurophysiology. 1989;74(2):147–160. doi: 10.1016/0168-5597(89)90020-8. [DOI] [PubMed] [Google Scholar]
- 66.Lachaux JP, Rodriguez E, Martinerie J, Varela FJ. Measuring phase synchrony in brain signals. Human Brain Mapping. 1999;8(4):194–208. doi: 10.1002/(SICI)1097-0193(1999)8:4<194::AID-HBM4>3.0.CO;2-C. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 67.Strogatz SH. Exploring complex networks. Nature. 2001;410(6825):268–276. doi: 10.1038/35065725. [DOI] [PubMed] [Google Scholar]
- 68.Gross J, Kujala J, Hämäläinen M, Timmermann L, Schnitzler A, Salmelin R. Dynamic imaging of coherent sources: studying neural interactions in the human brain. Proceedings of the National Academy of Sciences of the United States of America. 2001;98(2):694–699. doi: 10.1073/pnas.98.2.694. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 69.Astolfi L, Bakardjian H, Cincotti F, et al. Estimate of causality between independent cortical spatial patterns during movement volition in spinal cord injured patients. Brain Topography. 2007;19(3):107–123. doi: 10.1007/s10548-007-0018-1. [DOI] [PubMed] [Google Scholar]
- 70.Wilke C, Ding L, He B. Estimation of time-varying connectivity patterns through the use of an adaptive directed transfer function. IEEE Transactions on Biomedical Engineering. 2008;55(11):2557–2564. doi: 10.1109/TBME.2008.919885. [DOI] [PMC free article] [PubMed] [Google Scholar]