mne.channels.rename_channels¶
-
mne.channels.
rename_channels
(info, mapping)[source]¶ Rename channels.
Warning
The channel names must have at most 15 characters
- Parameters
- info
dict
Measurement info to modify.
- mapping
dict
|callable()
A dictionary mapping the old channel to a new channel name e.g. {‘EEG061’ : ‘EEG161’}. Can also be a callable function that takes and returns a string.
Changed in version 0.10.0: Support for a callable function.
- info