<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Hello, I tried to make the example to fit dipoles explained in the page of fieldtrip:<br><br>http://fieldtrip.fcdonders.nl/example/symmetric_dipoles<br><br>in the part in which one computes the time average, using the function ft_timelockanalysis produces an error that says that the function needs the field cfg.covariancewindow:
<pre class="code">cfg = [];<br>cfg.covariance = 'yes';<br>timelock = ft_timelockanalysis(cfg, data);<br><br>it appears to be solved when I set this to the option 'poststim' and recompute the function.<br><br>cfg.covariancewindow = 'poststim';<br><br>timelock = timelockanalysis(cfg, data);<br>the input is raw data with 91 channels and 1 trials<br>applying preprocessing options<br>averaging trials<br>averaging trial 1 of 1<br>Warning: Divide by zero.<br>> In timelockanalysis at 606<br><br>This produces the division by zero seen above, but any of the options for <br>covariancewindow field result the same for this.<br></pre>Then, after computing the sourceanalysis and sourcedescriptives function, I go to the part of ft_sourceplot with the same configuration as in the page, and the function produces the next error:<br><br>cfg = [];<br>cfg.method = 'ortho';<br>cfg.funparameter = 'nai';<br>cfg.funcolorlim = [1.6 2.2];<br>>> sourceplot(cfg, source);<br>the input is source data with 3468 positions<br>not plotting anatomy<br>no functional parameter<br>no masking parameter<br>voxel 1590, indices [9 9 6], location [-0.0 -0.0 5.0]<br>??? Error using ==> sourceplot at 654<br>no anatomy is present and no functional data<br>is selected, please check your<br>cfg.funparameter<br><br><b>please, if anyone know why this is happening and how to fix this, let me know.<br>thank you for your atention.<br></b><br>                                     <br /><hr />Discover the new Windows Vista <a href='http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE' target='_new'>Learn more!</a></body>
</html><p>----------------------------------</p>
<p>The aim of this list is to facilitate the discussion between users of the FieldTrip  toolbox, to share experiences and to discuss new ideas for MEG and EEG analysis.</p>
<p>  http://listserv.surfnet.nl/archives/fieldtrip.html</p>
<p>  http://www.ru.nl/fcdonders/fieldtrip/</p>