Commit 8fb3d194 authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Adds save_fig option to _plot_readings

Showing with 1 addition and 1 deletion
+1 -1
...@@ -55,7 +55,7 @@ if within_ohmpi: ...@@ -55,7 +55,7 @@ if within_ohmpi:
k._hw.calibrate_rx_bias() # electrodes 1 4 2 3 should be connected to a reference circuit k._hw.calibrate_rx_bias() # electrodes 1 4 2 3 should be connected to a reference circuit
# print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV') # print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV')
# k._hw._plot_readings() # k._hw._plot_readings()
k.run_measurement([A, B, M, N], injection_duration=1.) k.run_measurement([A, B, M, N], injection_duration=6.)
# k._hw._plot_readings() # k._hw._plot_readings()
print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV') print(f'Resistance: {k._hw.last_rho :.2f} ohm, dev. {k._hw.last_dev:.2f} %, rx bias: {k._hw.rx._bias:.2f} mV')
k._hw._plot_readings(save_fig=True) k._hw._plot_readings(save_fig=True)
......
Supports Markdown
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