diff --git a/ec_tools/helper.py b/ec_tools/helper.py index 66fdf5e..29a9012 100644 --- a/ec_tools/helper.py +++ b/ec_tools/helper.py @@ -69,6 +69,7 @@ def determine_scan_rate(t, x): return np.abs(np.diff(x) / np.diff(t)).mean() + def find_extrema_indeces(y, mode="all"): """Return the indexes of limits of cyclic voltammetry. @@ -91,6 +92,7 @@ def find_extrema_indeces(y, mode="all"): return extrema + 1 + def detect_step(t, x): """Returns the index of the step in given t and x arrays. Index is the where the changed value of t located.