""" This runs some benchmark tests, using the data here as input. The output is a txt file with timings and memory use info. Check pyvolution.run_profile for an example of how to use the python profile module. """ from benchmark_least_squares import BenchmarkLeastSquares ben = BenchmarkLeastSquares() ofile = 'lbm_resultsII.csv' delimiter = ',' run_profile = False #True is_fit_list = [True, False] num_of_points_list = [3, 200, 600, 2000, 6000, 10000, 20000] #maxArea_list = [ 0.008, 0.0016, 0.0008] max_points_per_cell_list = [2, 4, 8, 16, 30, 64] use_file_type_list = ['pts'] #'pts' #num_of_points_list = [10] maxArea_list = [0.008, 0.0016] max_points_per_cell_list = [4] fd = open(ofile, 'a') # write the title line fd.write("use_file_type" + delimiter + "num_of_points" + delimiter + "maxArea" + delimiter + "num_of_triangles" + delimiter + "max_points_per_cell" + delimiter + "is_fit" + delimiter +
""" This runs some benchmark tests, using the data here as input. The output is a txt file with timings and memory use info. Check pyvolution.run_profile for an example of how to use the python profile module. """ from benchmark_least_squares import BenchmarkLeastSquares ben = BenchmarkLeastSquares() delimiter = ',' use_least_squares_list = [False] is_fit_list = [True] #[True, False] # a maxArea of 0.00001 gives 155195 triangles # Simulating Cairns. #maxArea_list = [0.00001] #num_of_points_list = [1863558] # Simulating 1 tenth of Cairns. #maxArea_list = [0.0001] #num_of_points_list = [186558] # a maxArea of 0.0001 gives 15568 triangles #maxArea_list = [0.0001]
""" This runs some benchmark tests, using the data here as input. The output is a txt file with timings and memory use info. Check pyvolution.run_profile for an example of how to use the python profile module. """ from benchmark_least_squares import BenchmarkLeastSquares ben = BenchmarkLeastSquares() ofile = 'lbm_resultsII.csv' delimiter = ',' run_profile = False #True is_fit_list = [True, False] num_of_points_list = [3, 200, 600, 2000, 6000, 10000, 20000] #maxArea_list = [ 0.008, 0.0016, 0.0008] max_points_per_cell_list = [2,4,8,16,30,64] use_file_type_list = ['pts'] #'pts' #num_of_points_list = [10] maxArea_list = [ 0.008, 0.0016] max_points_per_cell_list = [4] fd = open(ofile,'a') # write the title line fd.write("use_file_type" + delimiter + "num_of_points" + delimiter + "maxArea" + delimiter +