This commit is contained in:
X11MA
2016-08-18 10:20:53 +02:00
parent 1ed5a5980a
commit 9071c76786
2 changed files with 5 additions and 4 deletions

View File

@@ -6,6 +6,7 @@ import thread
if str(SET_OFFSETS) == "1":
print "Setting offsets"
#print file_prefix
if RUNTYPE in ["+/-", "+" , "-"]:
caput(OTF_MODE1,1) # circ + in ID1
caput(OTF_MODE2,2) # circ - in ID2
@@ -29,7 +30,7 @@ else:
print "Running full script"
file_prefix = time.strftime("%y%m%d")
input_path = "/sls/X11MA/Data1/public/X11MA/temp/"+file_prefix+"/"
input_path = "/sls/X11MA/Data1/public/X11MA/temp/"#+file_prefix+"/"
output_path = input_path #+file_prefix+"/" #"/sls/X11MA/Data1/public/e10989/"+file_prefix+"/"
@@ -311,7 +312,7 @@ for scan_no in range(number_of_scans):
#Convert file
output_file = output_path + "os" + file_prefix + "_" + suffix + ".dat"
print("Converticonvert_file(input_file, output_file, pol_str)ng data file: " + output_file);
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)