why ft_sourceplot doesn't work?
Ludwing Torres
lumatobu2 at HOTMAIL.COM
Wed Jul 28 03:50:18 CEST 2010
Hello, I tried to make the example to fit dipoles explained in the page of fieldtrip:
http://fieldtrip.fcdonders.nl/example/symmetric_dipoles
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:
cfg = [];
cfg.covariance = 'yes';
timelock = ft_timelockanalysis(cfg, data);
it appears to be solved when I set this to the option 'poststim' and recompute the function.
cfg.covariancewindow = 'poststim';
timelock = timelockanalysis(cfg, data);
the input is raw data with 91 channels and 1 trials
applying preprocessing options
averaging trials
averaging trial 1 of 1
Warning: Divide by zero.
> In timelockanalysis at 606
This produces the division by zero seen above, but any of the options for
covariancewindow field result the same for this.
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:
cfg = [];
cfg.method = 'ortho';
cfg.funparameter = 'nai';
cfg.funcolorlim = [1.6 2.2];
>> sourceplot(cfg, source);
the input is source data with 3468 positions
not plotting anatomy
no functional parameter
no masking parameter
voxel 1590, indices [9 9 6], location [-0.0 -0.0 5.0]
??? Error using ==> sourceplot at 654
no anatomy is present and no functional data
is selected, please check your
cfg.funparameter
please, if anyone know why this is happening and how to fix this, let me know.
thank you for your atention.
_________________________________________________________________
Discover the new Windows Vista
http://search.msn.com/results.aspx?q=windows+vista&mkt=en-US&form=QBRE
----------------------------------
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. See also http://listserv.surfnet.nl/archives/fieldtrip.html and http://www.ru.nl/neuroimaging/fieldtrip.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.science.ru.nl/pipermail/fieldtrip/attachments/20100727/e42da81b/attachment-0001.html>
More information about the fieldtrip
mailing list