Commit 89b82054 authored by Peter Jansweijer's avatar Peter Jansweijer

added file header for result file

parent 8a4b832e
......@@ -375,7 +375,10 @@ if __name__ == "__main__":
# name is the root file name. Get the directory where this file exists and
# open a "result.txt" file in this directory
result_file = open((name + "_result.txt"),"w")
result_file.write("file: Lambda 1, Lambda 2, CRTT(Lambda_1), CRTT(Lambda_2), Fixed Lambda, Alpha, Alpha SPEC format, Alpha StdDev, Alpha/Alpha_StdDev\n")
result_file.write("# Proposed 3-Lambda Delta Delay measurements\n")
result_file.write("# file: " + name + "\n")
result_file.write("# fixed_lambda: " + str(fixed_lambda) + " = ITU-ch: "+str(fixed_itu_channel)+"\n")
result_file.write("# Lambda 1, Lambda 2, CRTT(Lambda_1), CRTT(Lambda_2), Fixed Lambda, Alpha, Alpha SPEC format, Alpha StdDev, Alpha/Alpha_StdDev\n")
for key,value in data_set["_l1_a"].items():
# Get the ITU channel numbers used for lambda 1 and 2 and
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment