diff --git a/Code/utilities.py b/Code/utilities.py new file mode 100644 index 0000000000000000000000000000000000000000..6bb32e63bc49b5ea806c2cb4ed470c6a0573f951 --- /dev/null +++ b/Code/utilities.py @@ -0,0 +1,12 @@ +def animate_voltage(i): + t_arr = data[:, 0] + v_arr = data[:, 1] + a.clear() + a.plot(t_arr, v_arr) + + +def animate_current(): + t_arr = data[:, 0] + i_arr = data[:, 2] + a.clear() + a.plot()