Go to the source code of this file.
Namespaces | |
submitScan | |
Variables | |
submitScan.optimization_name = sys.argv[1] | |
PARSE INPUT ARGUMENT #####. More... | |
submitScan.configuration = int(sys.argv[2]) | |
submitScan.optimization = Optimizations.Optimization(optimization_name) | |
string | submitScan.macro_template = "../../macros/NoSnout.mac" |
int | submitScan.n_scan_points = 30 |
Loop over Parameters that were optimized ####. More... | |
submitScan.lower_limit = optimization.parameter_lower_limits[par_iter] | |
submitScan.upper_limit = optimization.parameter_upper_limits[par_iter] | |
submitScan.scan_value = lower_limit+scan_iter*(upper_limit-lower_limit)/n_scan_points | |
string | submitScan.macro_output = "../../macros/Optimizations/" |
string | submitScan.macro_outputRHC = "../../macros/Optimizations/" |
submitScan.oldmac = open(macro_template) | |
submitScan.oldmac_lines = oldmac.readlines() | |
submitScan.newmac = open(macro_output, 'w') | |
submitScan.newmacRHC = open(macro_outputRHC, 'w') | |
submitScan.par_values = optimization.readVariationFromMacros(configuration) | |
list | submitScan.modes = ["FHC"] |
submitScan.output_file = newmac | |
submitScan.parameter = optimization.parameter_names[j] | |
submitScan.macro_set_stage = optimization.macro_set_stages[j] | |
submitScan.value = par_values[j] | |
string | submitScan.prefix = "" |
submitScan.Horn1OCRadius = par_values[optimization.getParameterIndex(prefix+"Horn1OCRadius")]; | |
submitScan.Horn1ICRadius1 = par_values[optimization.getParameterIndex(prefix+"Horn1ICRadius1")]; | |
submitScan.Horn1ICRadius2 = par_values[optimization.getParameterIndex(prefix+"Horn1ICRadius2")]; | |
submitScan.Horn1ICRadius3 = par_values[optimization.getParameterIndex(prefix+"Horn1ICRadius3")]; | |
submitScan.Horn1ICRadius4 = par_values[optimization.getParameterIndex(prefix+"Horn1ICRadius4")]; | |
submitScan.Horn1ICLength1 = par_values[optimization.getParameterIndex(prefix+"Horn1ICLength1")]; | |
submitScan.Horn1ICLength2 = par_values[optimization.getParameterIndex(prefix+"Horn1ICLength2")]; | |
submitScan.Horn1ICLength3 = par_values[optimization.getParameterIndex(prefix+"Horn1ICLength3")]; | |
submitScan.Horn1ICLength4 = par_values[optimization.getParameterIndex(prefix+"Horn1ICLength4")]; | |
submitScan.Horn1ICLength5 = par_values[optimization.getParameterIndex(prefix+"Horn1ICLength5")]; | |
submitScan.Horn1ICLength6 = par_values[optimization.getParameterIndex(prefix+"Horn1ICLength6")]; | |
submitScan.Horn1ICLength7 = par_values[optimization.getParameterIndex(prefix+"Horn1ICLength7")]; | |
submitScan.HornARadiusOC = par_values[optimization.getParameterIndex(prefix+"HornARadiusOC")]; | |
submitScan.HornARadius1 = par_values[optimization.getParameterIndex(prefix+"HornARadius1")]; | |
submitScan.HornARadius2 = par_values[optimization.getParameterIndex(prefix+"HornARadius2")]; | |
submitScan.HornALength = par_values[optimization.getParameterIndex(prefix+"HornALength")]; | |
submitScan.HornAF1 = par_values[optimization.getParameterIndex(prefix+"HornAF1")]; | |
submitScan.HornBRadiusOC = par_values[optimization.getParameterIndex(prefix+"HornBRadiusOC")]; | |
submitScan.HornBRadius1 = par_values[optimization.getParameterIndex(prefix+"HornBRadius1")]; | |
submitScan.HornBRadius2 = par_values[optimization.getParameterIndex(prefix+"HornBRadius2")]; | |
submitScan.HornBRadius3 = par_values[optimization.getParameterIndex(prefix+"HornBRadius3")]; | |
submitScan.HornBLength = par_values[optimization.getParameterIndex(prefix+"HornBLength")]; | |
submitScan.HornBF1 = par_values[optimization.getParameterIndex(prefix+"HornBF1")]; | |
submitScan.HornBF2 = par_values[optimization.getParameterIndex(prefix+"HornBF2")]; | |
submitScan.HornBF3 = par_values[optimization.getParameterIndex(prefix+"HornBF3")]; | |
submitScan.HornBF4 = par_values[optimization.getParameterIndex(prefix+"HornBF4")]; | |
submitScan.HornBF5 = par_values[optimization.getParameterIndex(prefix+"HornBF5")]; | |
submitScan.HornCRadiusOC = par_values[optimization.getParameterIndex(prefix+"HornCRadiusOC")]; | |
submitScan.HornCRadius1 = par_values[optimization.getParameterIndex(prefix+"HornCRadius1")]; | |
submitScan.HornCRadius2 = par_values[optimization.getParameterIndex(prefix+"HornCRadius2")]; | |
submitScan.HornCRadius3 = par_values[optimization.getParameterIndex(prefix+"HornCRadius3")]; | |
submitScan.HornCLength = par_values[optimization.getParameterIndex(prefix+"HornCLength")]; | |
submitScan.HornCF1 = par_values[optimization.getParameterIndex(prefix+"HornCF1")]; | |
submitScan.HornCF2 = par_values[optimization.getParameterIndex(prefix+"HornCF2")]; | |
submitScan.HornCF3 = par_values[optimization.getParameterIndex(prefix+"HornCF3")]; | |
submitScan.HornCF4 = par_values[optimization.getParameterIndex(prefix+"HornCF4")]; | |
submitScan.HornCF5 = par_values[optimization.getParameterIndex(prefix+"HornCF5")]; | |
submitScan.HornBLongPosition = par_values[optimization.getParameterIndex(prefix+"HornBLongPosition")] | |
submitScan.HornCLongPosition = par_values[optimization.getParameterIndex(prefix+"HornCLongPosition")] | |
float | submitScan.new_beam_size = 1.7 |
submitScan.temp = optimization.macro_commands[j].replace("SigmaX","SigmaY") | |