def cbpdnmsk_class_label_lookup(label):
    """Get a ConvBPDNMask class from a label string."""

    clsmod = {'admm': admm_cbpdn.ConvBPDNMaskDcpl,
              'fista': fista_cbpdn.ConvBPDNMask}
    if label in clsmod:
        return clsmod[label]
    else:
        raise ValueError('Unknown ConvBPDNMask solver method %s' % label)
Get a ConvBPDNMask class from a label string.