1/1
17 files

Matlab-code for simulation of dipole sources

software
posted on 22.09.2020, 13:34 authored by Arnd MeiserArnd Meiser
"The sensitivity of ear-EEG: evaluating the source-sensor relationship using forward modeling"

Arnd Meiser, Francois Tadel, Stefan Debener, Martin Bleichner

Corresponding author: Arnd Meiser (arnd.meiser@uni-oldenburg.de, University of Oldenburg, Germany)

The files from a-e contain code to reproduce the simulations carried out in "The sensitivity of ear-EEG: evaluating the source-sensor relationship using forward modeling". The remaining .avi files are videos illustrating the topographies resulting from different source orientations, depths and positions. In each video, a dipole is displayed in the upper left corner. The remaining three are the resulting topographies on a 3D model of the head (upper right corner), the signal received at the cEEGrid locations (lower left) and a 2D version of the topography (lower right). The file "cEEGrid_temp.xyz" contains the electrode locations of the cEEGrid, the file "scout_left_50" contains the Brainstorm-parcellation of the left hemisphere into 50 regions.
These scripts use "template.bst" as their signal file (folder names have to be adjusted accordingly)

For transparently offering a way to replicate the scripts (a-e) of the paper, Volume_dipole1-3.mat contain the most basic form of the scripts usable to build dipoles and alter orientations and positions. Volume_dipole.mat prepares the neccessary matlab structures, Volume_dipole2.mat creates a dipole with 3 different orientations. Volume_dipole3.mat displays these orientations with corresponding scalp-level signals as a topoplot via forward modeling. A video as in the 3 .avi files can be made from this.
Surface_sensitivity.mat creates the matlab structures neccessary for building a sensitivity map. Surface_sensitivity2.map creates the sensitivity map with the bst-standard 128 channel cap.
These scripts all use "raw.bst" as the initial signal file. These scripts (Volume_dipole1-3.mat and Surface_sensitivity1-2.mat) are not part of the original article at the time it was published. They are an additional help for those who want to set up their own dipole and sensitivity simulations.

History

Usage metrics

Licence

Exports