def almost_equal(value1,
                 value2,
                 slope):
    """
        Computes if two values are close considering a slope as degree
        of freedom
        ----
        Parameters:
            value1 (np.double) : first value
            value2 (np.double) : second value
            slope (np.double) : tolerance
        ----
        Returns:
             (bool)
    """

    if (value1 - slope) > value2 or (value1 + slope) < value2:
        return False
    else:
        return True