- MNE version: 1.3.0
- operating system: macOS 11.2
I want to set my montage with default ‘standard_1020’.
My data has 62 channels, corresponding to 64 channels but ‘M1’ and ‘M2’ are missing.
My channels are [‘FP1’, ‘FPZ’, ‘FP2’, ‘AF3’, ‘AF4’, ‘F7’, ‘F5’, ‘F3’, ‘F1’, ‘FZ’, ‘F2’, ‘F4’, ‘F6’, ‘F8’, ‘FT7’, ‘FC5’, ‘FC3’, ‘FC1’, ‘FCZ’, ‘FC2’, ‘FC4’, ‘FC6’, ‘FT8’, ‘T7’, ‘C5’, ‘C3’, ‘C1’, ‘CZ’, ‘C2’, ‘C4’, ‘C6’, ‘T8’, ‘TP7’, ‘CP5’, ‘CP3’, ‘CP1’, ‘CPZ’, ‘CP2’, ‘CP4’, ‘CP6’, ‘TP8’, ‘P7’, ‘P5’, ‘P3’, ‘P1’, ‘PZ’, ‘P2’, ‘P4’, ‘P6’, ‘P8’, ‘PO7’, ‘PO5’, ‘PO3’, ‘POZ’, ‘PO4’, ‘PO6’, ‘PO8’, ‘CB1’, ‘O1’, ‘OZ’, ‘O2’, ‘CB2’]
info = mne.create_info(ch_names, sfreq, ch_types='eeg')
# **samples** is a (62,37001) ndarray
raw = mne.io.RawArray(samples, info)
montage = mne.channels.make_standard_montage('standard_1020')
raw.set_montage(montage)
Then, when I try toraw.plot_psd_topo()
it says ValueError: The following electrodes have overlapping positions, which causes problems during visualization: FP1, FPZ, FP2, FZ, FCZ, CZ, CPZ, PZ, POZ, CB1, OZ, CB2
but actually I use the default montage, why could this happen?