Computing and Displaying Dipoles

Computing sources using the GLS

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.

    [ATTACH] --- [ATTACH]

  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. Un-selecting 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]

Dipole models from Neuromag's Xfit and CTF's DipoleFit

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

Neuromag Source Modelling 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

Tutorials/TutDipScan (last edited 2013-11-15 22:19:45 by jupiter)