<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear Fieldtrip Users,<br>
<br>
In attempting to use Beamformer source localization, I get an error when computing ft_sourceanalysis with the code below:<br>
<br>
cfg = [];<br>
cfg.method = 'dics';<br>
cfg.frequency = 6;<br>
cfg.elecfile = 'GSN_HydroCel_129_short.sfp';<br>
cfg.vol = vol;<br>
cfg.dics.projectnoise = 'yes';<br>
cfg.dics.lambda = '5%';<br>
cfg.dics.keepfilter = 'yes';<br>
cfg.dics.realfilter = 'yes';<br>
sourceAll = ft_sourceanalysis(cfg, freqAll);<br>
<br>
the call to "ft_selectdata" took 0 seconds and required the additional allocation of an estimated 0 MB<br>
using headmodel specified in the configuration<br>
reading electrodes from file 'GSN_HydroCel_129_short.sfp'<br>
converting units from 'cm' to 'mm'<br>
determining source compartment (1)<br>
projecting electrodes on skin surface<br>
combining electrode transfer and system matrix<br>
creating dipole grid based on inward-shifted brain surface from volume conductor model<br>
using headmodel specified in the configuration<br>
using gradiometers specified in the configuration<br>
642 dipoles inside, 0 dipoles outside brain<br>
the call to "ft_prepare_sourcemodel" took 0 seconds and required the additional allocation of an estimated 42 MB<br>
selection crsspctrm along dimension 3<br>
<br>
<font color="FF0000">Attempted to access noise(0); index must be a positive integer or logical.<br>
<br>
Error in beamformer_dics (line 211)<br>
noise = noise(end);<br>
<br>
Error in ft_sourceanalysis (line 662)<br>
dip(i) = beamformer_dics(grid, sens, vol, [], squeeze(Cf(i,:,:)), optarg{:});</font><br>
<br>
<br>
I note that it runs without errors when I change cfg.dics.projectnoise to 'no' - but what implications does that bring? I find with that change I can make it through the rest of the Beamformer tutorial (the section on contrasting conditions) without explicit
errors, but I nevertheless receive the following messages, following which my plotted figure is simply blank! Something is going wrong, I think.<br>
<br>
(1)<br>
sourceDiffInt = ft_sourceinterpolate(cfg, sourceDiff, mri);<br>
<font color="FF9900">Warning: use cfg.parameter='pow' instead of cfg.parameter='avg.pow'
<br>
> In ft_checkconfig (line 139)<br>
In ft_sourceinterpolate (line 119) <br>
<br>
<font color="FF9900">(2)</font><br>
<font color="FF9900"><font color="000000">ft_sourceplot(cfg, sourceDiffInt);</font><br>
Warning: use cfg.funparameter='pow' instead of cfg.funparameter='avg.pow' <br>
> In ft_checkconfig (line 139)<br>
In ft_sourceplot (line 210) <br>
Warning: use cfg.maskparameter='pow' instead of cfg.maskparameter='avg.pow' <br>
> In ft_checkconfig (line 139)<br>
In ft_sourceplot (line 213) <br>
the input is segmented volume data with dimensions [128 128 128]<br>
not plotting anatomy<br>
Warning: could not determine dimord of "pow" in the following data <br>
> In getdimord (line 516)<br>
In ft_sourceplot (line 390) </font><br>
</font><br>
Anyone know what might be the problem? Thanks very much!<br>
<br>
Helen Wieffering<br>
</div>
</body>
</html>