Differences in channel numbers and MEG Interpolate

Talsma D D.Talsma at PSY.VU.NL
Mon Aug 15 13:34:04 CEST 2005


Hi Fieldtrippers,

I have the following question regarding meginterpolate: Is it possible
to use MEG interpolate to add a channel to the dataset that was never
recorded in the first place? I have data from a limited number of
subjects that is recorded with one channel (MLO21) less (149 channels)
than the data from the other subjects (150 MEG channels). From what I
can tell, this is not a channel that is just marked as 'Bad', but one
that was never recorded in the first place. I tried interpolating this
channel using meginterpolate, but after this procedure, I still have a
dataset with 149 channels. Below are the settings I used. Needless to
say, I tried various variations, but none appeared to work.

For now, I'm going to try and remove the offending channel from the
remaining subjects that were recorded with 150 channels. 

Thanks in advance,
Durk 


templatefile    =   {   'pp01/corr-resp.ds',
                        'pp01/incor-resp.ds',
                        'pp02/corr-resp.ds',
                        'pp02/incor-resp.ds',
                        'pp03/corr-resp.ds',
                        'pp03/incor-resp.ds',
                        'pp04/corr-resp.ds',
                        'pp04/incor-resp.ds',
				'pp06/corr-resp.ds',
                        'pp06/incor-resp.ds',                        	
				'pp09/corr-resp.ds',
                        'pp09/incor-resp.ds',
				'pp10/corr-resp.ds',
				'pp10/incor-resp.ds',
                        'pp11/corr-resp.ds',
                        'pp11/incor-resp.ds',
                        'pp12/corr-resp.ds',
                        'pp12/incor-resp.ds',
                        'pp13/corr-resp.ds',
                        'pp13/incor-resp.ds',
                        'pp14/corr-resp.ds',
                        'pp14/incor-resp.ds',
                        'pp15/corr-resp.ds',
                        'pp15/incor-resp.ds'
                        };

cfgrepair = [];
cfgrepair.repair         = 'yes'; 
cfgrepair.realign        = 'no';
cfgrepair.planar         = 'no';
cfgrepair.template    =templatefile;
cfgrepair.hdmfile     ='standard.hdm';
cfgrepair.badchannel  = {'MLO21'};

dataCor_corrected   = meginterpolate(cfgrepair, dataCor);
dataInc_corrected   = meginterpolate(cfgrepair, dataInc);



More information about the fieldtrip mailing list