Duplicate electrode in standard montage

My current system:

  • MNE-Python version: 0.23.0
  • operating system: 10

Dear developers,
When I create a standard montage using mne.channels.make_standard_montage(“standard_1020”) and plotting the sensor positions, I get this warning:
image
Further when I’d like to use these points as an input to the mne.channels.make_dig_montage, an error
will be thrown saying that there are electrodes having overlapping positions.
Why does the standard montage contain these repeating channels? Is it not a bug?
Thanks,

The duplicate names are due to different naming conventions (see e.g. here). If you want to use all channels in mne.channels.make_dig_montage, you should exclude these duplicates.

Thanks for the reply,
I am trying to do so in the following manner:

  1. popping out those values from the chnames,
  2. make an info variable with this new chnames,
  3. creating an evokedarray with a random data,
  4. setting the montage of this evokedarray to that initialized with the mne.channels.make_standard_montage
    But in the last step it throws an error saying that:
    image
    Could you please tell me the straight way of excluding these duplicates?

Why do you want to make another montage using mne.channels.make_dig_montage? The result of mne.channels.make_standard_montage("standard_1020") is already a DigMontage object.

I am looking for a way to map from GSN-Hydrocel-129 to a 64 electrode digitization system. I thought, it would be possible to merge the two montages and then using the mne.channels.find_ch_adjacency function to find those GSN equivalent electrodes for each electrode in say 1020 system.
Is there a better solution for that purpose? If so, please let me know.
Thanks