Commit 8b02a015 authored by Arnaud WATLET's avatar Arnaud WATLET
Browse files

updates Vmn error computation

No related merge requests found
Showing with 1 addition and 1 deletion
+1 -1
......@@ -992,7 +992,7 @@ class OhmPi(object):
np.array([[]])
vmn_stack_mean = np.mean([np.diff(np.mean(vmn_stack[i*2:i*2+2], axis=1)) / 2 for i in range(nb_stack)])
vmn_std = np.mean([np.std(vmn_stack[::2]), np.std(vmn_stack[1::2])])
vmn_std = np.sqrt(([np.std(vmn_stack[::2])**2, np.std(vmn_stack[1::2])])**2)
i_stack_mean = np.mean(i_stack)
i_std = np.mean(np.array([np.std(i_stack[::2]), np.std(i_stack[1::2])]))
r_stack_mean = vmn_stack_mean / i_stack_mean
......
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