def get_SCAT(points, low_bound, high_bound, x_max, y_max):
    """
    runs SCAT test and returns boolean
    """
    # iterate through all relevant points and see if any of them fall outside of your SCAT box
    SCAT = True
    for point in points:
        result = in_SCAT_box(point[0], point[1], low_bound, high_bound, x_max, y_max)
        if result == False:
           # print "SCAT TEST FAILED"
            SCAT = False
    return SCAT
def get_SCAT ( points , low_bound , high_bound , x_max , y_max ) : SCAT = True for point in points : result = in_SCAT_box ( point [ 0 ] , point [ 1 ] , low_bound , high_bound , x_max , y_max ) if result == False : SCAT = False return SCAT
runs SCAT test and returns boolean