Commit c437a22764bd943cfa536769e67c04b5e713f1e8
1 parent
2bd2d0fee9
Exists in
master
replace spaces by tabs
Showing 1 changed file with 9 additions and 9 deletions Side-by-side Diff
pm100d_waist.py
... | ... | @@ -118,17 +118,17 @@ |
118 | 118 | line1, = ax1.plot(xmes, Pmes, 'o') |
119 | 119 | |
120 | 120 | else: |
121 | - # Power values | |
122 | - sensors_values = instrument.value() | |
123 | - sensors_values = sensors_values.replace('E', 'e') | |
124 | - string = "%f\t%s" % (dx , sensors_values) | |
125 | - data_file.write(string) # Write in a file | |
126 | - print(string) | |
121 | + # Power values | |
122 | + sensors_values = instrument.value() | |
123 | + sensors_values = sensors_values.replace('E', 'e') | |
124 | + string = "%f\t%s" % (dx , sensors_values) | |
125 | + data_file.write(string) # Write in a file | |
126 | + print(string) | |
127 | 127 | |
128 | - xmes.append(dx) | |
129 | - Pmes.append(float(sensors_values)) | |
128 | + xmes.append(dx) | |
129 | + Pmes.append(float(sensors_values)) | |
130 | 130 | |
131 | - dx = dx + 0.05 | |
131 | + dx = dx + 0.05 | |
132 | 132 | |
133 | 133 | line1.set_data(xmes, Pmes) |
134 | 134 | ax1.relim() |