def find(cls, name):
        """Returns the NDS2 channel type corresponding to the given name
        """
        try:
            return cls._member_map_[name]
        except KeyError:
            for ctype in cls._member_map_.values():
                if ctype.name == name:
                    return ctype
            raise ValueError('%s is not a valid %s' % (name, cls.__name__))
Returns the NDS2 channel type corresponding to the given name