Open martinspurr89 opened 2 years ago
Hi @martinspurr89,
I have added curve_fit_kws
(dict) argument to hf.fitting()
function (#23).
To try this out, please use hillfit>=0.1.6
.
You can pass any options to scipy.optimize.curve_fit:
hf = hillfit.HillFit(x_data, y_data)
hf.fitting(x_label = calib_par, y_label = col, title = 'Fitted Hill equation', sigfigs = 6,
log_x = False, print_r_sqr = True, view_figure = True, curve_fit_kws={"maxfev": 1000})
gives for certain data:
Can we get a maxfev option like in scipy curve_fit?