curve_fit — SciPy v1.18.0 Manual