Reference Channel for DICS!

Muthuraman Muthuraman muthuraman10 at HOTMAIL.COM
Wed Mar 7 17:14:56 CET 2007


Hello,
These are the configuration steps of the data for DICS

hdr     = read_fcdc_header('pd_mof_tr0_c_0306.cnt');
emgindx = strmatch('M', hdr.label);
rstindx = setdiff(1:length(hdr.label),emgindx);

hdr
           Fs: 1000
         nChans: 64
       nSamples: 74520
    nSamplesPre: 0
        nTrials: 1
          label: {1x64 cell}
           orig: [1x1 struct]


%Defining trials
trl = [];
trl(:,1) = [21:1000:74520-1000]';
trl(:,2) = [1020:1000:74520]';
trl(:,3) = 0;

%Data_EEG
cfg         = [];
cfg.dataset = 'pd_mof_tr0_c_0306.cnt';
cfg.trl     = trl;
cfg.blc     = 'yes';
cfg.channel = hdr.label(rstindx);
cfg.implicitref='CZ';
cfg.reref='all';
data_eeg        = preprocessing(cfg);

%Data_EMG
cfg.hpfilter = 'yes';
cfg.hpfreq   = 10;
cfg.channel  = hdr.label(emgindx);
cfg.refchan='M1';
cfg.blc='yes';
cfg.rectify  = 'yes';
data_emg          = preprocessing(cfg);

data         = appenddata([],data_eeg,data_emg);

I get the error
??? Error using ==> appenddata
cannot determine how the data should be concatenated

This is because after including the reference channels with EEG channels are
61 and EMG channels  are 5,
inorder to execute the DICS method with reference channel these steps are
necessary for the CSD to be complete

Is there a way to add the data with these two extra reference channels?
any comments on this would be appreciated

Thanking you
With regards
M.Muthuraman.

_________________________________________________________________
Tried the new MSN Messenger? It’s cool! Download now.
http://messenger.msn.com/Download/Default.aspx?mkt=en-in



More information about the fieldtrip mailing list