Fixed the headline of output CSV files.

This commit is contained in:
klaute 2016-10-06 16:13:30 +02:00
parent 68ba2a0daf
commit f1ef87a429

View file

@ -605,7 +605,7 @@ if __name__ == "__main__":
##### generate the output CSV file
if args.output_file != None:
FILE = open(args.output_file, "w")
FILE.write("freqency;ratio;impedance;watt;drive;a0;a1\n")
FILE.write("freqency;ratio;impedance;drive;a0;a1\n")
j = 0
for m in meas_ratio:
FILE.write("%f;%f;%f;%f;%d;%d\n" % (meas_freq[j], m, meas_r[j], i, meas_data[j][1], meas_data[j][2]))