def arc_tangent2(*args):
    'Filter to calculate four quadrant arc tangent of y / x.'
    try:
        if ((len(args) == 1) and isinstance(args[0], (list, tuple))):
            args = args[0]
        return math.atan2(float(args[0]), float(args[1]))
    except (ValueError, TypeError):
        return args
Filter to calculate four quadrant arc tangent of y / x.
def arc_tangent2(*args):
    
    try:
        if ((len(args) == 1) and isinstance(args[0], (list, tuple))):
            args = args[0]
        return math.atan2(float(args[0]), float(args[1]))
    except (ValueError, TypeError):
        return args