Dipole scanning and importing

Authors: Elizabeth Bock, Francois Tadel, John C Mosher

In Brainstorm, the brain activity can be estimated with distributed source models including thousands of dipoles and represented as cortical maps or functional overlays on the MRI. Another way of representing the source activity is to consider that at one time point there is only one single dipole that is active and that can explain most of the MEG or EEG recordings.

We offer two options to estimate the position and orientation of the most significant dipole at each time point: a dipole scanning method, which selects the most significant dipole in a grid of dipoles that are already estimated, and a non-linear dipole fitting method, which searches iteratively for the dipole that explains the best the recordings. The former is described on this page, the latter in FieldTrip dipole fitting.

Dipole modeling

The example below uses the protocol TutorialIntroduction created in the introduction tutorials.

This process allows for a systematic scanning of sources using performance measures to display single dipoles. For this tutorial we will use the Generalized Least Squares (GLS) source modeling available in Brainstorm.

  1. Select the protocol TutorialCTF. Right-click on Subject01 / Left / ERF > Compute sources.

  2. In this window, you should select Expert Mode. You will see the following menu. Select [Test] Mosher GLS. Click OK. Use the default settings in the next menu and click OK.

  3. Two results were added under the ERF: GLS and GLS-P.

    [ATTACH]

    • GLS:

    • GLS-P:

Dipole Scanning

For this tutorial we will do the scanning on the GLS results. However, the dipole scanning is also available for sources computed with minimum norm Z-scored (i.e. MN MEG(Constr) | zscored), dSPM and sLORETA.

  1. Drag and drop the GLS-P link into the Process 1 box. Click Run > Sources > Dipole scanning.

    [ATTACH] --- [ATTACH]

  2. Use the defaults options:
    • Time Window: This is the window over which the scanning will occur. The default option is to use the entire epoch.

    • Time between dipoles: This allows you to change the resolution of the scanning. To use all time points, enter a 0 (default).

      [ATTACH]

  3. The resulting dipole file is added under the Left condition.

    [ATTACH]

Displaying Dipoles

  1. Right-click ERF|GLSP-dipole-scan > Display on cortex. The Dipoles panel is now open and dipoles are displayed on the cortex. You can now explore the results using the options in the Dipoles panel:

    [ATTACH]

    • Data options: filter the available dipoles according the specific measurement. For the GLSP, these are defined as:
      • Z-score:

      • Goodness:

      • Chi-square:

      • Reduced Chi-square:

      • Confvolume:

    • Display options: these options allow for adjusting how the selected dipoles (according to the Data options) are displayed
      • Show max goodness: will show the dipole with the maximum goodness (within the constraints of the Data options) at the time point selected. If Show all time is selected, then this represents the maximum goodness over all time points.

      • Show all time: plots all selected dipoles at all time points. Unselecting this options will show only the current time point.

      • 3D - Color dipoles according to Time, Goodness of Fit, Z-score, Group: adjusts the colormap to reflect the measure.

  2. In the Dipoles panel, select Show max goodness of fit, Show all time, and color the dipoles according to Goodness of Fit. You should see the following display. Explore the panel options to familiarize yourself with the capabilities.

    [ATTACH]

Additional Example

Dipole scanning can also be restricted to a scout. In this example, the scanning is restricted to a scout named '2' and colored according to Goodness of Fit

[ATTACH] --- [ATTACH]

Neuromag Xfit and CTF DipoleFit

Brainstorm can import dipoles that have been generated using external software:

Neuromag Source Modeling module, xfit: The .bdip format is described in bdip_format.pdf. For more information about xfit and the bdip format see Neuromag Software Manuals.

CTF DipoleFit: The DipoleFit software and the .dip format is described in the CTF Software Manuals.

To import

  1. Select the study where you want to import the dipole file
  2. Right click and select ‘Import dipoles’ (Figure 1)
  3. For Neuromag, you will be prompted to specify the number of subsets used for dipole fitting. In most cases, this will be one. If subsets are used, as defined in the text file $HOME/.meg_analysis/xfit_selections, then the number of subsets used needs to be input when prompted. (Figure 2)

[ATTACH]

Figure 1. Importing dipoles

dipoles_subsets_dialog.jpg

Figure 2. Neuromag option for channel subsets

Examples

subset_group_GOF.png

allgroups_allsubsets_1time.png

Additional documentation





Feedback: Comments, bug reports, suggestions, questions
Email address (if you expect an answer):


Tutorials/TutDipScan (last edited 2016-08-04 19:18:22 by FrancoisTadel)