On occasion we have fit guesses and bounds in scipy format and it would be nice to cleanly pass them to a Model object to take advantage of our lmfit/minuit fitting capabilities. A classmethod like Model.from_scipy() could do the trick, but since that's really lmfit.Model, I don't know how to make this work across the whole module.
On occasion we have fit guesses and bounds in scipy format and it would be nice to cleanly pass them to a
Model
object to take advantage of ourlmfit
/minuit
fitting capabilities. A classmethod likeModel.from_scipy()
could do the trick, but since that's reallylmfit.Model
, I don't know how to make this work across the whole module.