[FieldTrip] Function ft_prepare_bemmodel deprecated...

Alexandre Gramfort alexandre.gramfort at inria.fr
Wed Apr 18 23:02:49 CEST 2012


Hello diana,

thanks for reporting the API change.

I'll see if I can update the scripts:

openmeeg_eeg_leadfield_example.m  openmeeg_meg_leadfield_example.m

feel free to give it a try if I am not too reactive...

Alex

On Tue, Apr 17, 2012 at 10:33 AM, Diana Ibanescu
<diana.ibanescu at gmail.com> wrote:
> Hello,
>
> I am interested in an example how to compute an EEG leadfield with OpenMEEG
> in the Fieldtrip toolbox. I found a demo script here:
> http://fieldtrip.fcdonders.nl/example/testing_bem_created_leadfields
> When I call the function ft_prepare_bemmodel(cfg, vol) I receive the
> following warning:
> "Warning: FT_PREPARE_BEMMODEL is deprecated, please use FT_HEADMODEL_BEM_...
> with cfg.method = 'bem_bladeebla'
> instead."
> The function ft_headmodel_bem_openmeeg receive as parameter "geom" while
> ft_prepare_bemmodel receive other parameters:
>  vol = ft_headmodel_openmeeg(geom, ...)
>
>   Optional input arguments should be specified in key-value pairs and can
>   include
>     isolatedsource   = string, 'yes' or 'no'
>     hdmfile          = string, filename with BEM headmodel
>     conductivity     = vector, conductivity of each compartment
>
> Are the 2 functions similar? Is there any demo updated after the function
> ft_prepare_bemmodel became deprecated? What function can I use instead?
>
> Thank you,
> Diana.
>
>
>
> _______________________________________________
> fieldtrip mailing list
> fieldtrip at donders.ru.nl
> http://mailman.science.ru.nl/mailman/listinfo/fieldtrip
>
>
> The information in this e-mail is intended only for the person to whom it is
> addressed. If you believe this e-mail was sent to you in error and the
> e-mail
> contains patient information, please contact the Partners Compliance
> HelpLine at
> http://www.partners.org/complianceline . If the e-mail was sent to you in
> error
> but does not contain patient information, please contact the sender and
> properly
> dispose of the e-mail.
>




More information about the fieldtrip mailing list