Commit 48eee135 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
...@@ -58,6 +58,6 @@ if within_ohmpi: ...@@ -58,6 +58,6 @@ if within_ohmpi:
k.run_measurement([A, B, M, N], injection_duration=1.) k.run_measurement([A, B, M, N], injection_duration=1.)
# 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() k._hw._plot_readings(save_fig=True)
# plot_exec_log('ohmpi/logs/exec.log') # plot_exec_log('ohmpi/logs/exec.log')
change_config('../configs/config_default.py', verbose=False) change_config('../configs/config_default.py', verbose=False)
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