channel selection in ft_preproccesing does not update elec field

Henning Holle h.holle at SUSSEX.AC.UK
Sun Mar 28 17:02:40 CEST 2010


Dear list members,

In a call to ft_precessing, I have selected a number of interesting channels
for further analysis

cfg = [];
cfg.channel     = {'Fz', 'Cz', 'Pz'};
data_eeg        = ft_preprocessing(cfg,data_tmp);

After this call, the data_eeg.label is updated, and now contains only these
three channels. However, data_eeg.elec does not seem to be updated, and is
still containing all original channels (which causes problems later on when
I try to plot the results). Shouldn't ft_preprocessing also update the
data_eeg.elec field?

Best wishes,

Henning

----------------------------------
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/neuroimaging/fieldtrip.



More information about the fieldtrip mailing list