<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def remove_channel(self, channel, *, verbose=True):
 """Remove channel from data. Parameters channel : int or str Channel index or name to remove. verbose : boolean (optional) Toggle talkback. Default is True. """

        channel_index = wt_kit.get_index(self.channel_names, channel)
        new = list(self.channel_names)
        name = new.pop(channel_index)
        del self[name]
        self.channel_names = new
        if verbose:
            print("channel {0} removed".format(name))