Search code examples
lmfit

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


I want to specify the epsfcn value for the leastsq option in lmfit. Can the epsfcn value be specified?


Solution

  • Let me answer my own question. The keyword argument espfcn can be added to the minimize function and is automatically passed on to the leastsq function. I hadn't seen that in the documentation of the minimize function. It works great.