BEst - wavelet-based source localization
This toolbox implements the "maximum-entropy on the mean" (MEM) technique for solving MEG, EEG and fused MEEG inverse problems. Along with the classical MEM, we exploit wavelet decompositions of the data in order to target specifically oscillatory (wMEM) and synchronous cortical sources (rMEM). BEst, for "Brain Entropy in space and time", is the result of a collaborative work between École de Technologie Supérieure and the department of biomedical enginnering at McGill university (Montreal, Canada). The present tutorial shows how to use MEM on averaged MEG Tutorial UQAMwork data that can be downloaded here.
See below for more info on the BEst license and the associated publications.
MEM: quick steps
We need one gain matrix for each recording modality considered for source localization. These matrices can be computed within Brainstorm using either, sperical or realistic (recommended) head models. See the tutorial on Head models for details. Note that unlike the other methods proposed in Brainstorm, the MEM does not require prior calculation of a noise covariance matrix. In fact, this matrix is estimated using a baseline signal that can either be part of the data to localize or come from a different data.
- Select the TutorialCTF protocol
- Go to the data view mode (second button on top of the database explorer)
Right-click on the data average > Compute sources > BrainEntropy MEM.. Hit 'Ok' Note: The MEM option only appears in expert mode. Make sure it is toggled from the buttom at the bottom left. It is recommended that you personnalize the comment field so as to avoid confusion when performing multiple localizations for a given dataset
- Select the MEM pipeline (MEM, wMEM or rMEM). For now, we leave the 'Clustering' options to default values, these are described here.
You can select a specific time window for source localization. This option can be necessary for long data epochs, as MEM is a slow iterative process (default: localize all data). Note: this option is not considered for the wMEM (localize whole data)
- By default, the panel looks for a data called 'baseline' within the same study as the data to be localized. When not found, the baseline is the data segment specified in the field 'Window'. You can select an external baseline by hitting 'import'.
- Hitting 'Ok' will launch the MEM pipeline. At the end, a new results file appears in the database under the appropriate dataset. Simply double-click it to visualize.
MEM fine-tuning : cortex clustering
The major prior of the MEM is that cortical activity is compartmented into discrete parcels. The activity of a given source within a patch is thus linked to the activity of its neighbors. This step is thus important for the MEM and we propose some strategies to optimize it, depending on the type of activity we target for source localization. All these approaches are data-driven and consist in two steps: sources scoring and labelling.
Sources scoring : MSP
We first attribute a score to each source indicating its probability of explaining a segment of data. These scores are drawn using the multivariate source prelocalisation technique - MSP (Mattout et al. 2005, NeuroImage). The MSP proceeds by computing a signal space projector using the SVD of the normalized data segment. The leadfields of each source are then normalized and projected on that space. The L2 norm of that projection thus gives a probability-like index between 0 and 1 weighing the contribution of each source to the data (illustrated in the following figure).
Note:
The MSP quantifies the probability for each source to explain some variability in a data segment. Implicitly, we expect the MSP scores to discriminate active regions from inactive ones in relation to the analyzed data window. In this regard, the size of the data window is an important issue. If it is too short, the variability to be explained is low and all sources will have low scores. At the opposite, if it is too large, all sources will have high MSP scores. We thus adopt two MSP strategies to obtain appropriate MSP scores distributions:
windowed MSP: (options 'blockwise' and 'wavelet-adaptive') aims at using fairly short segments of data. The size of the data segment can either be set arbitarily ('blockwise') based on empirical observations, or adapted to the temporal support of the wavelet at a given scale/frequency (only applies to wavelet-based MEM). The 'blockwise' procedure is a sliding window that computes a set of MSP scores at each time sample, thus yielding a MSP time course for each source (illsutrated in the next figure), while 'wavelet-adaptive' procedure computes a set of MSP scores for each time-frequency coefficient, thus yielding MSP time-frequency planes. These scores are then used for clustering.
canonical MSP: (option 'static') This method hypothesizes that the sources explaining the series at hand are spatially stable in time and have uncorrelated time course. It thus aims at representing cortical activity as stable parcels with evolving MSP time courses. As the scoring and the clustering are intimately related in this approach, the reader is referred to the following paper for a complete
License
OpenMEEG is distributed under the French opensource license CeCILL-B. It is intended to give users the freedom to modify and redistribute the software. It is therefore compatible with popular opensource licenses such as the GPL and BSD licenses. The CeCILL-B license imposes to anybody distributing a software incorporating OpenMEEG the obligation to give credits (by citing the appropriate publications), in order for all contributions to be properly identified and acknowledged.
The references to be acknowledged are:
Gramfort, T. Papadopoulo, E. Olivi, M. Clerc. OpenMEEG: opensource software for quasistatic bioelectromagnetics, BioMedical Engineering OnLine 45:9, 2010
Kybic J, Clerc M, Abboud T, Faugeras O, Keriven R, Papadopoulo T. A common formalism for the integral formulations of the forward EEG problem. IEEE Transactions on Medical Imaging, 24:12-28, 2005. [pdf]
