def range_normalization(x, min_x, max_x, a=0.5, b=10):
    """
    Normalize vector to the [0.5, 10] range

    Parameters
    ----------
    x: np.ndarray
        Vector of values to be normalized
    min_x: float
        Minimum value in vector x
    max_x: float
        Maximum value in vector x
    a: float
        Value of minimum used for the normalization
    b: float
        Value of maximum used for the normalization

    Returns
    -------
    Normalized vector
    """
    return a + (x - min_x) * (b - a) / (max_x - min_x)