Hello,<br><br>I am interested in an example how to compute an EEG leadfield with OpenMEEG in the Fieldtrip toolbox. I found a demo script here: <a href="http://fieldtrip.fcdonders.nl/example/testing_bem_created_leadfields">http://fieldtrip.fcdonders.nl/example/testing_bem_created_leadfields</a><br>
When I call the function ft_prepare_bemmodel(cfg, vol) I receive the following warning: <br>"Warning: FT_PREPARE_BEMMODEL is deprecated, please use FT_HEADMODEL_BEM_... with cfg.method = 'bem_bladeebla'<br>instead." <br>
The function ft_headmodel_bem_openmeeg receive as parameter "geom" while ft_prepare_bemmodel receive other parameters:<br> vol = ft_headmodel_openmeeg(geom, ...)<br> <br> Optional input arguments should be specified in key-value pairs and can<br>
include<br> isolatedsource = string, 'yes' or 'no'<br> hdmfile = string, filename with BEM headmodel<br> conductivity = vector, conductivity of each compartment<br><br>Are the 2 functions similar? Is there any demo updated after the function ft_prepare_bemmodel became deprecated? What function can I use instead?<br>
<br>Thank you,<br>Diana.<br><br><br>