<div dir="ltr"><div>Thanks Robert,<br></div>It runs better. Still I would like to check some errors I got...<br><div><br>When I run "ft_prepare_leadfield" I get:<br>Warning: the selected value 18 should be within the range of the array from 17.8808 to 17.8808 <br><br>When I run "ft_sourceinterpolate" I get:<br>Warning: could not reshape freq to the expected dimensions <br><br></div><div>Is this something I should worry about?, Or there is something I need to pay attention when I define my FOI?,<br><br></div><div>best,<br></div><div>Jose Luis<br></div><div><div><div class="gmail_extra"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
------------------------------<br>
<br>
Message: 5<br>
Date: Fri, 18 Mar 2016 08:36:18 +0100<br>
From: Robert Oostenveld <<a href="mailto:r.oostenveld@donders.ru.nl">r.oostenveld@donders.ru.nl</a>><br>
To: FieldTrip discussion list <<a href="mailto:fieldtrip@science.ru.nl">fieldtrip@science.ru.nl</a>><br>
Subject: Re: [FieldTrip] beamforming tutorial - cfg.headmodel<br>
Message-ID: <<a href="mailto:D380B547-6362-4BF6-98A3-90449132DF2C@donders.ru.nl">D380B547-6362-4BF6-98A3-90449132DF2C@donders.ru.nl</a>><br>
Content-Type: text/plain; charset="windows-1252"<br>
<br>
Hi Jos?<br>
<br>
The option cfg.vol (for ?volume conduction model?) has been replaced by cfg.headmodel for quite some time (probably more than a year ago). The code is backward compatible, so cfg.vol will also still work, but the documentation reflects the current standard. I suggest you update your copy of FieldTrip to a more recent version.<br>
<br>
best regards,<br>
Robert<br>


<br>
On 17 Mar 2016, at 20:03, Jose <<a href="mailto:joseluisblues@gmail.com">joseluisblues@gmail.com</a>> wrote:<br>
<br>
> dear list,<br>
><br>
> There might be an error in the beamformer tutorial (<a href="http://www.fieldtriptoolbox.org/tutorial/beamformer" rel="noreferrer" target="_blank">http://www.fieldtriptoolbox.org/tutorial/beamformer</a>). To compute the lead field and the sources, cfg.vol rather than cfg.headmodel has to be defined to determine the headmodel. Thanks for corroborating this.<br>
><br>
> --<br>
> Jos?<br>
> _______________________________________________<br>
> fieldtrip mailing list<br>
> <a href="mailto:fieldtrip@donders.ru.nl">fieldtrip@donders.ru.nl</a><br>
> <a href="http://mailman.science.ru.nl/mailman/listinfo/fieldtrip" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/mailman/listinfo/fieldtrip</a><br>
<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160318/0074e3e9/attachment-0001.html" rel="noreferrer" target="_blank">http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160318/0074e3e9/attachment-0001.html</a>><br>
<br>
------------------------------<br></blockquote></div><br><br><br></div></div></div></div>