Skip to content
Snippets Groups Projects
Commit a2a7d3af authored by Martin Killenberg's avatar Martin Killenberg
Browse files

add status printout during stable measurements

parent f9c5de83
No related branches found
No related tags found
No related merge requests found
......@@ -165,12 +165,14 @@ class Measurements:
(phase <= reference_phase+self.max_delta_phase)
supposedly_stable_measurements.append([data, self.cook_up_equi_indicator()])
if (self.temperature_stable and self.humidity_stable and self.magnitude_stable and
self.phase_stable):
print('Stable measurement ' + str(i+1) + '/' + str(next_reads))
self.clock.sleep(self.sleep_time)
else:
all_measurements_stable = False
print('Measurement not stable. Retrying.')
break
for [d, measurement_equi] in supposedly_stable_measurements:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment