Commit bb23a267 authored by Peter Jansweijer's avatar Peter Jansweijer

Added Sellmeier_fitted_crtt_for_first_ITU_channel to result.txt to see CRTT vs…

Added Sellmeier_fitted_crtt_for_first_ITU_channel to result.txt to see CRTT vs temperature variation
parent 88389282
......@@ -863,7 +863,7 @@ def analyze_plot(insitu_file, analyse_single, x, y, name, tolerance, use_itu_cha
fig.clf() # clear figure (it was stored in a png file)
#numb_of_meas = numb_of_meas + 1
#result_file.write(insitu_file + ": " + str(outlier_cnt) + ", " + str(tangent) + ", " + str(temperature_min) + ", " + str(temperature_max) + "\n")
result_line = insitu_file + ": " + str(outlier_cnt) + ", " + str(tangent) + ", " + str(temperature_min) + ", " + str(temperature_max) + "\n"
result_line = insitu_file + ": " + str(outlier_cnt) + ", " + str(tangent) + ", " + str(temperature_min) + ", " + str(temperature_max)+ ", " + str(stdev_str)+ ", " + str(ly[0]) + "\n"
except:
print("file probably only contains measurements for a single wavelength")
......@@ -935,7 +935,7 @@ if __name__ == "__main__":
# (re) open result.txt file
result_file = open(os.path.join(name, "result.txt"),"w")
result_file.write("file: outlier-count, tangent, min-temperature, max-temperature\n")
result_file.write("file: outlier-count, tangent, min-temperature, max-temperature,fit_err std_dev, Sellmeier_fitted_crtt_for_firts_ITU_channel\n")
numb_of_meas = 0 # Keep track of the number of scans that is recorded in the result file
elif os.path.isfile(name) == True:
......
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