def average_tol_numpy(values, tolerance):
    """Compute the mean of values where value is > tolerance

    :param values: Range of values to compute average over
    :param tolerance: Only values greater than tolerance will be considered
    """
    return values[values > tolerance].mean()