Brainstorm
  • Comments
  • Menu
    • Attachments
    • Versions
    • Raw Text
    • Print View
  • Login

Software

  • Introduction

  • Gallery

  • Download

  • Installation

Users

  • Tutorials

  • Forum

  • Courses

  • Community

  • Publications

Development

  • What's new

  • What's next

  • About us

  • Contact us

  • Contribute

Revision 21 as of 2020-04-08 21:45:48
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28

Introduction

In this tutorial, we compare the head models computation using the methods available in brainstorm.

At this time, the FEM implementation is available for the EEG and the MEG computation. We will integrate and test soon the FEM for sEEG and ECOG.

EEG within a spherical model

The volume conductor or the head model:

In this part we used the spherical head model distributed by the duneuro team (sphere). The following figure shows on the left the surface model and on right the tetrahedral mesh. DuneuroModelMesh.JPG

The model has three layers, the brain (inner skull), the outer skull and the scalp.

The source space :

For the source space or dipole position, we will use a realistic cortex distributed with the ICBM default subject of brainstorm.

DuneuroModelMeshAnCortex.JPG

The sensor model

Regarding the electrode's positions, we use the same position defined in this file. The total number of electrodes is 200 regularly distributed on the outer layer.

DuneuroModelElectrode.JPG

The forward model

Now, we have all the components of the model, we can start the process to compute the head model. For the EEG, brainstorm offers three methods. We perform these three computations on this model.

  1. 3-shell sphere: best-fitting sphere based on the scalp, then OK.
  2. OpenMeeg BEM: use the conductivity 0.33, 0.004 and 0.33, and keep the default options.

  3. DUNEuro FEM: use the default option with the same conductivity value as the previous method.

protocolDuneuroSphereEEG.JPG

Qualitative comparison of the methods

In this tutorial, we use the display of the lead field vector to compare visually the performances of the three methods.

Right-click on the head model, and then select 'View lead field vector'. You can select more than the head model in order to overlay the vectors.

rightClickLeadFieldView.JPG

In this figure, we show all of these methods and zoom to focus on the vectors. For more documentations about these lead field vectors, please refere to these pages (page1, page2)

ViewLeadFieldEEGAllMethod.JPG leadVectorZoom.JPG

We can easily see that the three vectors are pointing in the same direction and have the same length.

Regarding the computation time:

  • 3-shell sphere: less than 30 secondes
  • OpenMeeg BEM: ~ 12 minutes.

  • DUNEuro FEM: ~ 2 minutes.

This example has 15000 dipoles (x3) and 200 electrodes.

There are many studies and publications that compare these methods and highlights the advantages and weakness of each method.

From the brainstorm side, we recommend to use either openmeeg or duneuro for a realistic head model. If you have the FEM mesh*, Duneuro is faster for the same mesh resolution as the surface (OpenMeeg).

Duneuro can be used for a more realistic model (more than 3 layers with the complex shape).

*You can generate the FEM if you have the surfaces or the MRI, this process is explained in this tutorial.

EEG within brainstom template (3 layers)

In this example, we will present the process of FEM mesh generation from surface model and highlight the effect of the mesh resolution.

the BEM, FEM forward computation in basic model (realistic head model 3 layer) and also within a spherical head model with an analytical solution.

Describe femVSbem here.

Compare the performance of the mesh resolution vs the lead field approximation

v10, v1, v0.1 and v0.01 femMeshModels.JPG

v0.1 and V0.01 are almost the same ....

the difference appears on v10

sourceVsMeshResolution.JPG

in the spherical head model

same observation on the lf view lfview_v01andv001.JPG

the difference appears on the v1 and worse for v10

EEG forward within 3 layers head model:

In this example, we compute the head model for the ICBM head model using the openmeeg method and then we generate the fem mesh for the same subject, then we compute the lead field using the Duneuro method v = 0.1 default value. MNorm sourcelocalisation.JPG

sloreta sourcelocalisationloreta.JPG sourcelocalisationloreta2.JPG

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01