BEst - Brain Entropy in space and time

This toolbox implements the "maximum-entropy on the mean" (MEM) technique for solving MEG, EEG and MEG/EEG source localizations. Along with the classical MEM (Amblard et al. 2004), we exploit wavelet decompositions of the data in order to target specifically oscillatory patterns (wMEM) or synchronous cortical sources (rMEM). Explanation of cMEM, rMEM, wMEM in 2-3 sentences here.

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 MEG data from

1) Simulations: 2 examples of realistic simulations of spikes

2) Inter-ictal epileptic discharges (IEDs): Average of 171 spikes

3) Median Nerve Stimulation (MNS) data: Average of 98 trials from Right hand responses

4) Sleep spindles: 5 spontaneous events

These datasets can be downloaded from here. For each dataset the anatomy and gain matrices are provided. Below we will illustrate the application of the three MEM methods on MNS dataset (BEst_tutorial_median_nerve).

http://www.ranklogos.com/wp-content/uploads/2012/04/Mcgill_logo-.png http://www.etsmtl.ca/ETS/media/Prive/logo/ETS-rouge-devise-impr-fond_transparent.png

See below for more info on the BEst license and the associated publications.

MEM: preliminary steps

We need one gain matrix for each recording modality considered for source localization. These matrices can be computed within Brainstorm using either, spherical 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. This matrix can be estimated using a physiological baseline signal that can either be part of the data to be localized or a different piece of data. We can also use empty room noise recordings if available to estimate this matrix.

  1. Uncompress downloaded dataset in a folder
  2. Import the data in brainstorm by clicking: File > Load protocol > Load from folder > browse the protocol (BEst_tutorial_median_nerve)

  3. Go to the data view mode (second button on top of the database explorer)
  4. Right-click on the data average > Compute sources > BEst. 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 customize the comment field so as to avoid confusion when performing multiple localizations for a given dataset.

    • (Figures to be included)

  5. Select the MEM method (cMEM: temporal representation, wMEM: time-scale represenation, or rMEM: wavelet representation). Define the data time window and the baseline data while keeping other parameters at default values. Then hit 'Ok'.

    • (Figure to be included)

cMEM

  1. Selection of a specific time window may be useful for long data epochs, as cMEM is an iterative process (default: localize whole data window). Suggested time window for this dataset: 0.010s-0.030s.
  2. Three choices are available for baseline definition.
    • Default: the panel looks for a dataset called 'baseline' within the same study as the data to be localized. When not found, this option is disabled.

    • Within data: the baseline is a time window within the recordings.

    • Import: the user can import baseline data from a file using brainstorm import tools In all cases, the user can define a time window for the baseline

    (Figure to be included)

  3. Hitting 'Ok' will launch the cMEM method. At the end, a new results file appears in the database under the appropriate dataset. Simply double-click it to visualize. (Figure to be updated) res.png sig.png sol.png

Parameters of cMEM:

wMEM

The most innovative aspect of the BEst toolbox is the application of the entropic source localization framework (MEM) on wavelet coefficients. The aim of this approach is to localize neural sources responsible for a specific activity such as oscillations or synchrony. We consider two kinds of wavelet transforms, continuous (rMEM, Zerouali et al. 2011) and discrete (wMEM, Lina et al. 2012), which make explicit the synchronous and oscillatory components, respectively.

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:

Sources clustering : dynamical

The aim of this step is to group cortical sources into spatially homogenous cortical parcels based on their MSP scores. The clustering alogrithm described next is applied at each time sample thus allowing sufficient flexibility for tracking spatially moving sources while still being able to describe spatially stable sources. It proceeds as follows:

  1. list all vailable sources in a vector
  2. pick the source i with maximal MSP score
  3. find the neighbours of i up to the 'neighborhood order' value
  4. remove i and its neighbors from the list
  5. repeat steps 2-4 until the list is empty

Note:

It is posible to apply a threshold on the MSP scores before applying the clustering. The threshold can either be set manually or derived from a baseline using an FDR criterion (see following figure). In that case, the sources with subthreshold MSP scores are excluded from step 1 and are not part of any cluster. These sources will not be part of the MEM solution.

License

BEst is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. BEst is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should receive a copy of the GNU General Public License along with BEst. If not, get it here.

The references to be acknowledged are:

Additionnal references:

Tutorials/TutBEstOld (last edited 2014-05-16 16:10:22 by x-132-204-238-244)