I am trying to use scipy.optimize curve_fit to fit the exponential function:
def func(x, a, b, c): return c - (c-a) * np.exp(-b * x)
I im