diff --git a/script/EnergyScan.py b/script/EnergyScan.py index 6929354..aee4ced 100644 --- a/script/EnergyScan.py +++ b/script/EnergyScan.py @@ -307,27 +307,6 @@ for scan_no in range(number_of_scans): otf_start.write(0) finally: stopPlot() - - time.sleep(5.0) - #Convert file - output_file = output_path + "os" + file_prefix + "_" + suffix + ".dat" - - print("Converting data file: " + output_file); - convert_file(input_file, output_file, pol_str) - plot_file(output_file, file_prefix+"_" + suffix) #"Scan " + str(scan_no+1)) - print "Finished scan " + str(scan_no+1) + " out of " + str(number_of_scans) - - if RUNTYPE in ["+/-", "LH/LV"]: - if polswitch == 1: - switchpol(2, RUNTYPE) # tune ID2 --> polarization: C- or LV - polswitch = 0 - else: - polswitch = 1 - switchpol(1, RUNTYPE) # tune ID1 --> polarization: C+ or LH - else: - print "running in one polarization mode, no switching" - - time.sleep(3.0) time.sleep(5.0) #TODO: wait for file instead of sleep