I have to add montage information to the raw EEG data (.vhdr). I donβt have the coordinates file, but I know the channel names, and it is a standard 1020 electrode placement. I get the following error.
- MNE-Python version: 0.24.0
- operating system: Windows
montage = raw.set_montage(βstandard_1020β)
ValueError: DigMontage is only a subset of info. There are 32 channel positions not present in the DigMontage. The required channels are:
[β1β, β2β, β3β, β4β, β5β, β6β, β7β, β8β, β9β, β10β, β11β, β12β, β13β, β14β, β15β, β16β, β17β, β18β, β19β, β20β, β21β, β22β, β23β, β24β, β25β, β26β, β27β, β28β, β29β, β30β, β31β, β32β].
Consider using inst.set_channel_types if these are not EEG channels, or use the on_missing parameter if the channel positions are allowed to be unknown in your analyses.
channel_names =[βFp1β,βFp2β,βF7β,βF3β,βFzβ,βF4β,βF8β,βFC5β,βFC1β,βFC2β,βFC6β,
βFC6β,βT7β,βC3β,βCzβ,βC4β,βT8β,βTP9β,βCP5β,βCP1β,βCP2β,βCP6β,
βTP10β,βP7β,βP3β,βPzβ,βP4β,βP8β,βPO9β,β01β,βOzβ,βO2β]
Above are the channel names. Would you please give me a solution?