sourceanalysis.m on EEG data

Brian Roach Brian.Roach at YALE.EDU
Fri Mar 2 00:02:50 CET 2007


Thanks so much for the tutorial document.  After a recent grant submission,
we have some time to really dig into this, and I have a question for you:

from the doc...
1)      Create BEM model using the following example script (link to 'BEM
example script'):
- create brain, skull and skin compartments using volumesegment.m and image
processing functions
- use these compartments as input for the prepare_bemmodel.m function
   (which uses the C-Program 'Dipoli', available upon request )

Do you have a BEM example script, or should I try to use what is listed on
the field trip website (

I wasn't sure which you intended to have someone use.

At 11:26 AM 2/13/2007, you wrote:
>Dear Brian,
>I`ve worked with the prepare_bemmodel script for constructing a forward
>model for source localization of EEG data. Find attached a little tutorial
>with the steps I took for creating the BEM from an individual MRI. The
>plan is to put it also on the fieldtrip wiki (sooner or later). Please let
>me know if you have questions on this tutorial.
>Hope this helps,
>Robert Oostenveld schrieb:
>>The prepare_bemmodel function is in the zip file on the ftp server. The
>>dipoli executable is attached to this mail. There exists only a linux
>>i386 and an apple PPC version. You are not permitted to distribute the
>>dipoli executable, it is not covered under the GPL license but made
>>available courtesy of Thom Oostendorp.
>>best regards,
>>On 12 Feb 2007, at 22:32, Brian Roach wrote:
>>>Where can I find these functions listed below?
>>>% the prepare_bemmodel function is available upon request % the dipoli
>>>stand-alone executable is available upon request

More information about the fieldtrip mailing list