能否在 lmfit 中指定参数 epsfcn 来逼近雅可比矩阵?

Can the parameter epsfcn be specified in lmfit to approximate the Jacobian?

我想为 lmfit 中的 leastsq 选项指定 epsfcn 值。可以指定epsfcn值吗?

让我回答我自己的问题。关键字参数 espfcn 可以添加到 minimize 函数,并自动传递给 leastsq 函数。我没有在 minimize 函数的文档中看到它。效果很好。