def within(v1, v2, eps):
    """
    Return True if v1 is with eps of v2. All params are numbers
    """
    return abs(v1 - v2) < eps
dataset/ETHPy150Open rll/lfd/lfd/rapprentice/util.py/within/original