I need to fit a model's parameters to observational data, but the model's precision is low, and it isn't smooth relative to the parameters. I.e. when a parameter is changed only so slightly, the output values may remain the same.
Due to this fact, lmfit
runs the model for a few rounds, variating the parameters, and then gives up. How can I specify the minimum parameter variation step so the changes it makes are actually meaningful? I'm currently using the leastsq
method.