channel selection in ft_preproccesing does not update elec field

Nathan Weisz nathanweisz at MAC.COM
Mon Mar 29 10:18:55 CEST 2010

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

no ... not as far as i know.
the elec-field contains all info no matter what you do. for plotting the main thing is that the electrodes in the label field should also appear somewhere in the elec.label field.


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 and

More information about the fieldtrip mailing list