error offset

Marco SPERDUTI marco.sperduti at UPMC.FR
Wed Nov 26 16:30:45 CET 2008


Hi all,

i'm trying to do frequency analysis with mtmconvol, but it gives me
this error:

??? Reference to non-existent field 'offset'.

Error in ==> freqanalysis_mtmconvol at 323
     min_smp = min(data.offset);

Error in ==> freqanalysis at 192
[freq] = feval(sprintf('freqanalysis_%s', lower(cfg.method)), cfg, data);

Error in ==> field_trip_new at 42
TF_data = freqanalysis(cfg, data);

this is the command i'm using:
cfg = [];
cfg.output = 'powandcsd';
cfg.method = 'mtmconvol';
cfg.channel = 'MEG';
cfg.foi = 36;
cfg.toi = 0.800;
cfg.t_ftimwin = 1.000;
cfg.tapsmofrq = 4;
TF_data = freqanalysis(cfg, data);

any idea?

thanks a lot,

Marco

----------------------------------
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