Numpy Nonlinear Fit