def weights_array(array, scheme):
    """Generate a weights array for a given weighting scheme.

    .. note::

       Currently not implemented, will raise a ValueError().

    """
    scheme = scheme.lower()
    raise ValueError("invalid weighting scheme: '{!s}'".format(scheme))
