'Return the input channel matching `name`. Raise a `ValueError`
if not found.'

def input_channel(self, name):

    for channel in self.input_channels():
        if (channel.name == name):
            return channel
    raise ValueError(('%r    is    not    a    valid    input    channel    name    for    %r.' % (name, self.description.name)))
