API reference

FEM

The FEM class contains all the classes and methods required to build a proper finite element model.

To construct the mesh, use one of the following methods:

Next, add fields to the mesh with:

Finally, add sensors with:

EEG

The EEG module contains everything related with electroencephalography.

Leadfield

The Leadfield module provides both the single and parametric classes to compute respectively a single leadfield matrix and a parametric leadfield matrix.

The single leadfield matrix can be obtained with the ProbEEGLeadfield and SolEEGLeadfield classes. The parametric leadfield atrix on the other hand is computed with the ProbParamEEGLeadfield, SolParamEEGLeadfield and SurrEEGLeadfield classes.

HD-tDCS