DUNEuro - A software toolbox for forward modeling in bioelectromagnetism

Sophie Schrader, Andreas Westhoff, Maria Carla Piastra, Tuuli Miinalainen, Sampsa Pursiainen, Johannes Vorwerk, Heinrich Brinck, Carsten H. Wolters, Christian Engwer*

*Corresponding author for this work

Research output: Contribution to journalArticleAcademicpeer-review

23 Citations (Scopus)
47 Downloads (Pure)


Accurate and efficient source analysis in electro- and magnetoencephalography using sophisticated realistic head geometries requires advanced numerical approaches. This paper presents DUNEuro, a free and open-source C++ software toolbox for the numerical computation of forward solutions in bioelectromagnetism. Building upon the DUNE framework, it provides implementations of modern fitted and unfitted finite element methods to efficiently solve the forward problems of electro- and magnetoencephalography. The user can choose between a variety of different source models that are implemented. The software's aim is to provide interfaces that are extendable and easy-to-use. In order to enable a closer integration into existing analysis pipelines, interfaces to Python and MATLAB are provided. The practical use is demonstrated by a source analysis example of somatosensory evoked potentials using a realistic six compartment head model. Detailed installation instructions and example scripts using spherical and realistic head models are appended.

Original languageEnglish
Article numbere0252431
JournalPLoS ONE
Issue number6
Publication statusPublished - 4 Jun 2021
Externally publishedYes


Dive into the research topics of 'DUNEuro - A software toolbox for forward modeling in bioelectromagnetism'. Together they form a unique fingerprint.

Cite this