From 0b94598ff42568b44445957f30152cd8ed2c687d Mon Sep 17 00:00:00 2001 From: X11MA Date: Thu, 9 Feb 2017 12:08:02 +0100 Subject: [PATCH] Script execution --- script/EnergyScan.py | 21 --------------------- 1 file changed, 21 deletions(-) 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