lmfit / lmfit-py

Non-Linear Least Squares Minimization, with flexible Parameter settings, based on scipy.optimize, and with many additional classes and methods for curve fitting.
https://lmfit.github.io/lmfit-py/
Other
1.06k stars 274 forks source link

Saveload custom func #934

Closed newville closed 9 months ago

newville commented 9 months ago

This fixes some of the save/load issues lingering after #932, and fixes some test deprecatiosn

Here we add a "version 2" of the JSON encoding of ModelResult, now relying on Parameter.dumps(). Tests are not altered, and should still all pass.

Type of Changes
Tested on
Verification

Have you