But I got the following ValueError related to DigMontage:
ValueError: DigMontage is only a subset of info. There is 1 channel position not present in the DigMontage. The channel missing from the montage is:
[‘REF’].
Consider using inst.rename_channels to match the montage nomenclature, or inst.set_channel_types if this is not an EEG channel, or use the on_missing parameter if the channel position is allowed to be unknown in your analyses.
Honest question, is the error message not helpful for you here? We were trying to produce a message that provides direct guidance to users, but apparently we didn’t succeed. Could you help us understand how we could improve? Which parts of the message can you not understand?