freqstatistics
Jan Mathijs Schoffelen
Jan.Schoffelen at FCDONDERS.RU.NL
Tue Sep 4 14:11:11 CEST 2007
Dear Michael,
I am pretty sure that this bug has been fixed in the newer releases of
fieldtrip. Thanks for noticing though.
Yours,
Jan-Mathijs
-----Original Message-----
From: FieldTrip discussion list [mailto:FIELDTRIP at NIC.SURFNET.NL] On Behalf
Of Michael Hauck
Sent: Tuesday, September 04, 2007 1:47 PM
To: FIELDTRIP at NIC.SURFNET.NL
Subject: [FIELDTRIP] freqstatistics
Hello there,
I found a bug in freqstatistic in version fieldtrip-20070603 when using it
with coherence. If you use
cfg.parameter = 'cohspctrm' freqstatistic still uses the powspectrm due to
line 89 to 93
89 if isfield(cfg, 'parameter') && strcmp(cfg, 'powspctrm')
90 % use the power spectrum, this is the default
91 elseif isfield(cfg, 'parameter') && strcmp(cfg, 'csdspctrm')
92 % use the cross spectrum, this might work as well (but has not been
tested)
93 elseif isfield(cfg, 'parameter') && strcmp(cfg, 'cohspctrm')
I think that it should be ... && strcmp(cfg.PARAMETER, 'powspctrm') and
so on
----------------------------------
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/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/fcdonders/fieldtrip.
More information about the fieldtrip
mailing list