Source anaylsis

Muthuraman Muthuraman muthuraman10 at HOTMAIL.COM
Tue Jul 25 10:34:30 CEST 2006


Hello

Thankyou for pointing out errors
now i am able to calculate the Grid values
but when i wanted to use the source analysis for the freqmtmwelch

cfg.frequency=5;
cfg.refchannel='C1';
cfg.refdip=10;
cfg.method='dics';
cfg.grid=grid;
cfg.elec=elec1;
cfg.vol=vol;
[source]=sourceanalysis(cfg,freqmtmwelch);
using headmodel specified in the configuration
using electrodes specified in the configuration
42 dipoles inside, 18 dipoles outside brain

I get the error

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

Error in ==> fieldtrip-20060712\private\prepare_freq_matrices at 124
  Ntrials = length(freq.cumtapcnt);

Error in ==> sourceanalysis at 663
    [Cf, Cr, Pr, Ntrials, cfg] = prepare_freq_matrices(cfg, data);

when i use the mtmfft i get the cumtapcnt values
i get a error when using the mtmfft for source analysis
cfg.frequency=5;
cfg.refchannel='C1';
cfg.refdip=10;
cfg.method='dics';
cfg.grid=grid;
cfg.elec=elec1;
cfg.vol=vol;
[source]=sourceanalysis(cfg,freqmtmfft);
using headmodel specified in the configuration
using electrodes specified in the configuration
610 dipoles inside, 600 dipoles outside brain

??? Error using ==> fieldtrip-20060712\private\prepare_freq_matrices
The cross-spectral-density matrix is not complete

Error in ==> sourceanalysis at 663
    [Cf, Cr, Pr, Ntrials, cfg] = prepare_freq_matrices(cfg, data);


Please go through it
Because for the DICS i would like to use the freqmtmwelch
is this a problem with freqmtmwelch
or something wrong in my inputs

thanking you

with regards
muthuraman



More information about the fieldtrip mailing list