Commit 3753eccc authored by Olivier Kaufmann's avatar Olivier Kaufmann
Browse files

Fix typo

Showing with 1 addition and 1 deletion
+1 -1
...@@ -5,6 +5,6 @@ from OhmPi.measure import OhmPiHardware ...@@ -5,6 +5,6 @@ from OhmPi.measure import OhmPiHardware
k = OhmPiHardware() k = OhmPiHardware()
k._vab_pulse(vab=12, length=1., sampling_rate=10., polarity=1) k._vab_pulse(vab=12, length=1., sampling_rate=10., polarity=1)
r = k.reading[:,2]/k.readings[:,1] r = k.readings[:,2]/k.readings[:,1]
print(f'Mean resistance: {np.mean(r):.3f} Ohms, Dev. {100*np.std(r)/np.mean(r):.1f} %') print(f'Mean resistance: {np.mean(r):.3f} Ohms, Dev. {100*np.std(r)/np.mean(r):.1f} %')
change_config('config_default.py', verbose=False) change_config('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