[FieldTrip] beamforming tutorial - cfg.headmodel

Robert Oostenveld r.oostenveld at donders.ru.nl
Tue Mar 22 15:48:40 CET 2016

Hi Jose Luis

yes, you should worry about that. I don’t know whether it leads to errors, but it suggests that you are specifying things in the cfg that cannot be achieved with the data. You want to analyze 18 Hz, whereas the nearest frequency appears to be 17.8808 Hz, which is more than 2Hz off. Please check the frequency axis of your input data.

You can always open (in the MATLAB editor) the code that issues the warning, and you can look at the code to try to understand it better.


On 22 Mar 2016, at 11:19, Jose <joseluisblues at gmail.com> wrote:

> Thanks Robert,
> It runs better. Still I would like to check some errors I got...
> When I run "ft_prepare_leadfield" I get:
> Warning: the selected value 18 should be within the range of the array from 17.8808 to 17.8808 
> When I run "ft_sourceinterpolate" I get:
> Warning: could not reshape freq to the expected dimensions 
> Is this something I should worry about?, Or there is something I need to pay attention when I define my FOI?,
> best,
> Jose Luis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20160322/b6e61635/attachment-0002.html>

More information about the fieldtrip mailing list