'Rename channels.
Parameters
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 (new in version 0.10.0).
Notes
.. versionadded:: 0.9.0'

def rename_channels(self, mapping):

    rename_channels(self.info, mapping)
