[Eeglablist] Channel Number After Interpolation

ivano triggiani ivanotriggiani at gmail.com
Mon Nov 29 09:38:48 PST 2021

Hi Bennett,

I am not sure if you can have problems with the Studio, but I received a
warning about differences in the montages, so I decided to change the order
of the channels before the studio. This is also useful in case you might
want to export the data somewhere else.

If you think it may help,  did it simply with this code:

orig_chlst = {'Fp1'...
 'FCz'}; %this is your original list

%% Re-order channels
last_chorder   = {EEG.chanlocs.labels};
[~,new_indx] = ismember(orig_chlst,last_chorder);
EEG.chanlocs   = EEG.chanlocs(new_indx);
EEG.data       = EEG.data(new_indx,:,:);
EEG = eeg_checkset( EEG );
eeglab redraw


Antonio Ivano Triggiani, Ph.D.
Research Physiologist [C]
Human Motor Control Section, Medical Neurology Branch
National Institute of Neurological Disorders and Stroke
National Institutes of Health
10 Center Drive, Building 10, Room 7D42
Bethesda, MD 20892-1428
Phone: (301) 402-2983
MSC 1428

* I am writing in my personal capacity, and not as a representative
of the US Government

On Mon, Nov 29, 2021 at 12:01 PM Alterman, Bennett L via eeglablist <
eeglablist at sccn.ucsd.edu> wrote:

> Hello,
> When I interpolate a channel using "Use specific channels of other
> dataset", the new channel number is added to the end of the channels. For
> example FP1 is my first channel (FPZ is channel 2), but if I remove it and
> then interpolate it later, it is listed as channel 58, and FPZ becomes
> channel 1 and the rest of the data are all shifted one channel number. When
> I plot the channels, they are all in the correct position on the head
> because it is still correctly mapped to my chanlocs file. So the head map
> starts with 58, then 1-57 for the remaining channels.
> Is this a problem for creating my study? Or is it fine because the
> channels are mapped by the label (i.e., "FP1") rather than the channel
> number (i.e., 58)? I just want to make sure that I am not mapping channel
> 58 to channel 58, but am mapping FP1 to FP1 between datasets.
> Sincerely,
> Bennett Alterman, M.S.
> --
> Ph.D. Candidate, Cognitive Motor Control Laboratory
> School of Biological Sciences
> Georgia Institute of Technology
> bennett.alterman at gatech.edu
> https://urldefense.proofpoint.com/v2/url?u=http-3A__bennettalterman.wix.com_neuroimaging&d=DwIFAw&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=uIx2u-90pb2V1F-f9C3l7gOoFvQFWnPEhYTXxb3HMKEzg-KU1R6KAiJaP3bM2WA7&s=8ZGzO9571TXKmRi0l8sDtncTb4gR-XmMbSNqBUQAHno&e=
> <
> https://urldefense.proofpoint.com/v2/url?u=http-3A__bennettalterman.wixsite.com_neuroimaging&d=DwIFAw&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=uIx2u-90pb2V1F-f9C3l7gOoFvQFWnPEhYTXxb3HMKEzg-KU1R6KAiJaP3bM2WA7&s=oXM5rhoMQ5WvO-xhB4B9bIOoj4835WY-Yxvs0qoUqHE&e=
> >
> https://urldefense.proofpoint.com/v2/url?u=https-3A__www.linkedin.com_in_bennettalterman_&d=DwIFAw&c=-35OiAkTchMrZOngvJPOeA&r=kB5f6DjXkuOQpM1bq5OFA9kKiQyNm1p6x6e36h3EglE&m=uIx2u-90pb2V1F-f9C3l7gOoFvQFWnPEhYTXxb3HMKEzg-KU1R6KAiJaP3bM2WA7&s=_1cklorDa2xyzBrEpMREzRWT9D4BiHufTMJmDSoD37s&e=
> 678.485.6318
> _______________________________________________
> Eeglablist page: http://sccn.ucsd.edu/eeglab/eeglabmail.html
> To unsubscribe, send an empty email to
> eeglablist-unsubscribe at sccn.ucsd.edu
> For digest mode, send an email with the subject "set digest mime" to
> eeglablist-request at sccn.ucsd.edu

More information about the eeglablist mailing list