OpenMEEG is a package that solves the MEG and EEG forward problems. It implements a Boundary Element Method (BEM) and provides accurate solutions when dealing with realistic head models (1, 2 or 3 nested layers)
The OpenMEEG binaries are not included in the fieldtrip release, but the OpenMEEG matlab wrapper functions are.
OpenMEEG is available on Linux, Mac OS X and Windows. A 64bit machine is preferred due to the computational load of M/EEG forward modeling using the BEM.
OpenMEEG can be downloaded from:
$ gcc -v gcc version 4.3.2 (GCC)
The OpenMEEG version for gcc 4 provides support of OpenMP for parallel and faster computation.
#example using RPM command (from Linux shell) rpm -ivh OpenMEEG-2.0-0.x86_64.rpm
The source code of OpenMEEG can be accessed by SVN
svn checkout svn://scm.gforge.inria.fr/svn/openmeeg
OpenMEEG is build with CMake on all platforms.
It only depends on blas/lapack or atlas on Linux and Mac OS X and the Intel MKL on Windows.
After installing, you should check on the Matlab command line that the OpenMEEG command-line executable can be found. This is done by typing in your matlab prompt:
You should see something like this:
> system('om_assemble'); om_assemble version 2.0.svn (570) compiled at Mar 28 2010 07:25:26 Not enough arguments Please try "om_assemble -h" or "om_assemble --help "
If the system call prints the correct version information, then you are all done and you can use the forward modeling of OpenMEEG in combination with the inverse methods implemented in FieldTrip.
A good start is the example script “openmeeg_eeg_leadfield_example.m” found in “external/openmeeg”
If you still meet any difficulty do not hesitate to contact the OpenMEEG team: firstname.lastname@example.org
Remember that OpenMEEG is opensource but that if you publish results using OpenMEEG you should cite the necessary related papers. More infos can be found at: