meg_wiki.eeg.load_mapping🔗
- meg_wiki.eeg.load_mapping(fname)🔗
Load a mapping TXT file into an MNE-compatible dictionary.
The loaded mapping can be used to rename the channels from a recording with
inst.rename_channels(mapping)
.fname = "mapping.txt" mapping = load_mapping(fname) raw.rename_channels(mapping)