Commit f3237cda authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Splits hardware test and measure test for ohmpi card 3.15

Showing with 7 additions and 8 deletions
+7 -8
from OhmPi.measure import OhmPiHardware
from utils import change_config
change_config('config_ohmpi_card_3_15.py', verbose=False)
k = OhmPiHardware()
k._vab_pulse(vab=12, length=1., sampling_rate=100., polarity=1)
change_config('config_default.py', verbose=False)
...@@ -28,11 +28,3 @@ r = np.array(r) ...@@ -28,11 +28,3 @@ r = np.array(r)
print(f'Mean resistance: {np.mean(r):.3f} Ohms') print(f'Mean resistance: {np.mean(r):.3f} Ohms')
print(f'Resistance std: {np.std(r):.3f} Ohms') print(f'Resistance std: {np.std(r):.3f} Ohms')
print(f'Dev. {100. * np.std(r)/np.mean(r):.1} %') print(f'Dev. {100. * np.std(r)/np.mean(r):.1} %')
from OhmPi.measure import OhmPiHardware
from utils import change_config
change_config('config_ohmpi_card_3_15.py', verbose=False)
k = OhmPiHardware()
k._vab_pulse(vab=12, length=1., sampling_rate=100., polarity=1)
change_config('config_default.py', verbose=False)
\ No newline at end of file
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