Connecivityanalysis ERROR

Saskia Haegens saskia.haegens at DONDERS.RU.NL
Fri Jun 18 11:08:27 CEST 2010


Hi Allen,



This sounds like a bug that was recently fixed, are you using the latest
fieldtrip version?

If you could copy/paste the exact error you are getting, would help in
figuring out where this goes wrong.



Best,

Saskia



  _____

From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Allen Ardestani
Sent: vrijdag 18 juni 2010 0:41
To: FIELDTRIP at NIC.SURFNET.NL
Subject: [FIELDTRIP] Connecivityanalysis ERROR



Hi everyone,

When I call connectivityanalysis using any of the methods that use frequency
data, I get the following error:

"??? Conversion to cell from double is not possible."

I get it even when using the downloaded dataset and exact script from the
tutorial:



cfg            = [];

cfg.output     = 'powandcsd';

cfg.method     = 'mtmfft';

cfg.foilim     = [5 100];

cfg.tapsmofrq  = 5;

cfg.keeptrials = 'yes';

cfg.channel    = {'MEG' 'EMGlft' 'EMGrgt'};

cfg.channelcmb = {'MEG' 'EMGlft'; 'MEG' 'EMGrgt'};

freq           = ft_freqanalysis(cfg, data);



%% Plot %%

cfg            = [];

cfg.method     = 'coh';

cfg.channelcmb = {'MEG' 'EMG'};

fd             = ft_connectivityanalysis(cfg, freq);



Any ideas what's wrong?  Many thanks in advance.



Best,

Allen

____________________________________________________________________________
______

Allen Ardestani    Email: aardesta at ucla.edu

Phone: (310) 825-5528

Medical Scientist Training Program

David Geffen School of Medicine at UCLA

Semel Institute for Neuroscience and Human Behavior

760 Westwood Plaza

Los Angeles, CA 90095-1759

USA



----------------------------------

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.

http://listserv.surfnet.nl/archives/fieldtrip.html

http://www.ru.nl/fcdonders/fieldtrip/


----------------------------------
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/20100618/ef469e07/attachment.html>


More information about the fieldtrip mailing list