ValueError: DigMontage is only a subset of info. There are 4 channel positions not present in the DigMontage. The required channels are:
[‘FP1’, ‘VEOG’, ‘FPz’, ‘FP2’].
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.
Like the error message says, there are channels in your data that are not present in the montage you want to set. You can ignore this problem by passing on_missing='warn' (just raises a warning instead of failing), but I suggest you fix / update your montage file to include FP1, FPz, and FP2. It could also be that the only thing that’s different between your data and the montage is the casing of the channel names; you can try and see if passing match_case=False helps.
VEOG should probably be converted to an eog type channel, as I doubt it will be present in your montage.
Thanks a lot .
I’ve tried it the way you said, I still haven’t solved it.
I don’t konw “match_case=False” is what.
How to fix / update your montage file to include FP1 , FPz , and FP2 .
I think name is correct.
If possible,I can send you a copy of my data. May I ask you email address.
If your data contains channels FP1, FPz, and FP2, then you should use a montage that contains locations for those channels. In other words, perhaps the custom montage you’re using is the wrong one, or is incomplete. Based on this line:
it seems like you’re trying to set a standard 10-20 montage, maybe you should try raw.set_montage('standard_1020')?
8-3.eeg 8-3.vhdr 8-3.vmrk
Since I need to use electrode points to draw a topographic map, I need to solve this problem and need to understand the process
actually, you haven’t solved it. Look at the middle of the sensor plot, you’ll see there are several overlapping channels. See overlapping channels in plot_psd_topo for the correct solution.