https://github.com/lmfit/lmfit-py

sort by:
Revision Author Date Message Commit Date
8781a2d whatsnew for version 1.3.0 04 April 2024, 15:42:14 UTC
e57aab2 BLD: update to latest SciPy version 03 April 2024, 01:36:51 UTC
ea9519e MAINT: update pre-commit hooks 03 April 2024, 01:36:51 UTC
005b527 More uniform independent vars (#941) * make function arguments with non-numeric defaults be independent variables, save default value * fixes for ExpressionModel with new independent vars implementation * add tests of independent_vars for keyword arguments of model functions * fix example setting independent_vars to use a tuple * update model documentation * allow independent vars with default values=None, True, or False to become Parameters (following documentation) * clarify doc for independent variables in models * fix doc typo * adding an example using basinhopping, can take other methods as command-line argument 18 March 2024, 12:48:56 UTC
588846c MAINT: update pre-commit hooks 02 March 2024, 02:51:16 UTC
57ed034 CI: update to latest NumPy version 02 March 2024, 02:51:16 UTC
b1783f9 DOC: vendor latest version of layout.html from Sphinx basic theme 02 March 2024, 02:51:16 UTC
6658cc6 DOC: update confidence.rst and example 02 March 2024, 02:50:38 UTC
c9c2b2d Require dill (#940) * make dill a requirement, use it to (try to better) encode objective/model functions * model saved_state is now versioned, to allow dill usage, but reading is back compatible * add versioned saved models, add tests for reading these * add versioned saved models, add tests for reading these * model get/set state: clean up code comments, add comment about future-proofing for version check * document dill as a dependency 21 February 2024, 01:59:29 UTC
6096c3a ENH: add 'min_rel_change' as variable in calculation of confidence intervals 26 January 2024, 04:12:36 UTC
493107b Merge pull request #935 from reneeotten/collection-of-small-fixes Collection of small fixes 21 January 2024, 17:37:51 UTC
f4e1e98 FIX/MAINT: 'maxiter' is removed in favor of 'maxfun' in TNC Closes: #823 21 January 2024, 03:59:39 UTC
279d7d6 MAINT: use 'is' and 'is not' for type comparisons 21 January 2024, 03:52:11 UTC
5e07bde MAINT: add doc/sg_execution_times.rst to .gitignore - alse remove during the "clean" Makefile rule 21 January 2024, 03:52:11 UTC
a626c5e DOC: filter spurious link to 'Examples gallery' - did not work properly when only building the HTML target 21 January 2024, 03:51:57 UTC
d344fec BLD: remove numexpr dependency - this is an optional dependency for pandas and should thus not be required 21 January 2024, 03:23:24 UTC
0c34eae DOC: correct intersphinx mapping for SciPy 21 January 2024, 03:23:24 UTC
a7c4a1e DOC: minor changes for consistent style 21 January 2024, 03:23:24 UTC
5843c33 CI: update to latest NumPy/SciPy 21 January 2024, 03:23:17 UTC
c214629 MAINT; update pre-commit hooks 20 January 2024, 19:02:15 UTC
a623f3a MAINT: compatibility fixes for upcoming NumPy v2 release 20 January 2024, 18:59:38 UTC
2f635c1 Saveload custom func (#934) * json decode dicts more uniformly * cleanups * avoid deprecation warning in test * version 2 of ModelResult save file: just dump params and init_params.... but support reading v1 save file 30 December 2023, 03:39:52 UTC
368c0e0 Eval uncertainty dscale (#933) * allow setting step size for derivative in eval_uncertainties(), default value to 0.01 * no codespell for IPython Notebooks * add notebook for discussion of ModeResult.eval_uncertainty * add predicted interval to eval_uncertainty * doc and example for predicted interval * doc and example for predicted interval * move ipynb format to plain python for predicted interval example * update doc to use plain python for predicted interval * cleanup * fix doc building with Python 3.12 * more fixes for doc buildig with Py312, including pandas need numexpr for emcee-using doc to build * merge from master / a4d0ec3c69 29 December 2023, 20:51:39 UTC
a4d0ec3 propagate funcdefs to Parameters in model.loads (#932) * propagate funcdefs to Parameters in ModelResult.loads * do not pass model function into Parameters usersyms 29 December 2023, 20:14:23 UTC
caf0930 Merge pull request #928 from reneeotten/switch-to-pyproject.toml 01 December 2023, 14:00:51 UTC
af16a01 CI: test with Python 3.12 and Python 3.13-dev 19 November 2023, 02:52:58 UTC
685580a BLD: swith to pyproject.toml 19 November 2023, 02:52:58 UTC
e21a6aa Merge pull request #927 from reneeotten/drop-PY37_update-deps Drop support for Python 3.7, increase minimum versions for SciPy/NumPy 18 November 2023, 16:43:33 UTC
9efaa4e BLD: increase minimum supported NumPy/SciPy versions to 1.23 and 1.8 18 November 2023, 16:31:29 UTC
ea10c38 BLD: drop EOL Python 3.7 18 November 2023, 14:47:01 UTC
ac0d35f CI: update SciPy to latest version 18 November 2023, 14:18:32 UTC
76cb458 MAINT: update pre-commit hooks 18 November 2023, 14:18:32 UTC
4e2470a Rsquared with weights (#923) * add test for rsquared calculation when using weights, from GH921 * fix r-squared calculation for weighted model fits 08 November 2023, 03:30:47 UTC
c415990 pandas.read_json wants StringIO-wrapped strings 17 September 2023, 19:44:50 UTC
2044f89 pandas.read_json wants StringIO-wrapped strings 17 September 2023, 19:39:19 UTC
c704719 CI: update SciPy/NumPy to latest version 17 September 2023, 15:15:13 UTC
0094dec MAINT: update pre-commit hooks 17 September 2023, 15:15:13 UTC
468873a Minimize uvars test (#913) * add test for MinimizerResult.uvars after successful fit * update fitting doc to add uvars (and other items) into table of MinimizerResult attributes 23 August 2023, 03:22:28 UTC
261ce28 Merge pull request #910 from lmfit/fix_pr909 Fix pr909 13 August 2023, 18:44:18 UTC
f54b499 add fix for eval_uncertainty() after load_modelresult 12 August 2023, 02:08:04 UTC
b5b06d8 add test for PR909 -- modelresult.eval_uncertainty() after load_modelresult 12 August 2023, 02:07:22 UTC
fc3f7f8 Merge pull request #907 from lmfit/restore_vals_create_uvars restore best-fit parameter values for high accuracy values of constrained values 28 July 2023, 19:52:22 UTC
2a70f77 restore best-fit parameter values for high accuracy values of constrained values 27 July 2023, 16:42:40 UTC
8b2038a final updates for v 1.2.2 14 July 2023, 01:52:27 UTC
555c29e spellchecked whatsnew 08 July 2023, 15:51:20 UTC
3326676 update whatsnew for v 1.2.2 08 July 2023, 15:48:01 UTC
4d5df88 Html repr with JupyterLab TOC (#902) * Change `h2` tags to `b` in fit result html table. * Change `h2` tag to `b` in `ModelReport` repr. * html_reprs with table captions and jp-toc directives * update html_reprs * update test for slight change to html repr * fix another test * more html formattinag tweaks --------- Co-authored-by: Simon Rochester <simon.rochester@gmail.com> 07 July 2023, 21:28:52 UTC
4968ef2 Merge pull request #901 from lmfit/complex_eval_uncertain Complex eval uncertainty 06 July 2023, 14:29:42 UTC
e34b167 add test for GH#875 (CompositeModel_returning_lists) and GH#900 (Complex.eval_uncertainty) 05 July 2023, 20:20:00 UTC
5f7af07 fix ModelResult.eval_uncertainty() for complex model 05 July 2023, 20:05:33 UTC
d0a5936 force Model.eval to return array-like 05 July 2023, 19:50:52 UTC
875c2f7 Merge pull request #888 from lmfit/calc_upars Calculate, store correlated uncertainties for variable parameters for easier downstream calcs 05 July 2023, 19:05:33 UTC
54b9af1 add doc for ModeResult.uvars and link to example 01 July 2023, 15:46:08 UTC
17f3a52 change test of _nan_policy() to coerce_float64 01 July 2023, 01:16:46 UTC
7ce6c80 fix deprecation warning in test of not_zero() 01 July 2023, 01:16:05 UTC
78c9994 Merge branch 'master' into calc_upars 30 June 2023, 23:11:34 UTC
115113c Merge pull request #899 from lmfit/model_coerce_farray More changes to coercing model inputs to Float64 arrays 30 June 2023, 21:50:37 UTC
6c41986 return _nan_policy 30 June 2023, 20:59:50 UTC
c5b71ac return _nan_policy to a near copy of coerce_farray 30 June 2023, 20:48:25 UTC
7db2547 update docs for coerce_farray, clarify what data types can/should be used 30 June 2023, 20:06:55 UTC
932fc2d deprecated _nan_policy function 28 June 2023, 17:48:28 UTC
e24a5f8 fix argument order 28 June 2023, 17:47:18 UTC
894e507 Merge branch 'master' into model_coerce_farray 27 June 2023, 14:09:22 UTC
7e63299 Merge pull request #898 from eendebakpt/test_model_fix Fix test_hints_for_peakmodels from test_models.py 27 June 2023, 14:07:30 UTC
3808b97 Fix comparison threshold in test_hints_for_peakmodels 27 June 2023, 08:25:20 UTC
d12afb6 Merge pull request #897 from lmfit/aborted_least_squares Aborted least squares 26 June 2023, 21:11:57 UTC
2a4caea abandoning incorrect test of shgo captured output 26 June 2023, 20:16:57 UTC
3c307ec allow for even worse results when aborting some fits 26 June 2023, 19:40:43 UTC
a849664 do not test the xl value of scipy shgo 26 June 2023, 19:24:01 UTC
e30b04a handle aborted fits for more methods 26 June 2023, 18:42:21 UTC
51a3d08 move test of aborted fits due to small max_nfev from test_least_squares to test_minimizer 26 June 2023, 18:41:08 UTC
08f48bf fix testing of pandas types with pandas not present 26 June 2023, 17:42:55 UTC
9eb3dae rewrite test_coercion_of_input_data to allow coerce_farray True/False 26 June 2023, 16:13:21 UTC
580c107 add coerce_farray option to model, default of True to coerce data and independent vars to float64 26 June 2023, 16:10:27 UTC
5617524 needs explicit numpy arrays 26 June 2023, 16:07:33 UTC
a804d36 rename/refactor _nan_policy function to coerce_float64, coercing to float64, ravelling, applying nan policy 26 June 2023, 16:07:04 UTC
65212c4 harden some models and lineshapes to tolerated some array-like data 26 June 2023, 15:54:26 UTC
88132cd harden some models and lineshapes to tolerated some array-like data 26 June 2023, 15:54:13 UTC
1ab95ae Merge pull request #895 from lmfit/make_params_prefix Make params prefix 24 June 2023, 22:34:25 UTC
9fe5eb4 only recover from aborted fit if near the max_nfev limit 23 June 2023, 17:47:43 UTC
9e19a07 add test for aborted fit with least_squares 23 June 2023, 15:58:06 UTC
92f7059 fix nfev count 23 June 2023, 15:55:12 UTC
18acd00 fix calc of residual and statistics for aborted fit with least_squares method 23 June 2023, 15:27:58 UTC
aaf908e fix basename to name for some cases of prefixed param names 23 June 2023, 15:10:52 UTC
4c42b7e add test for issue #893 23 June 2023, 15:09:39 UTC
980a5d1 MAINT: update pre-commit hooks 21 June 2023, 02:01:11 UTC
6c0b956 CI: update NumPy version 21 June 2023, 02:01:11 UTC
1c0879e explicit exception rather than pytest.xfail 13 June 2023, 21:40:57 UTC
7a645f3 add test of parameters uvars 13 June 2023, 21:39:45 UTC
b60611f add example for uvars and Model.post_fit 24 May 2023, 02:57:32 UTC
cd2d0d1 doc for uvars added 23 May 2023, 23:50:07 UTC
938bee9 add commented-out exmamples using post_fit() 23 May 2023, 02:31:08 UTC
e0433d7 typo 22 May 2023, 21:55:25 UTC
848ed8c add Model.post_fit() which takes an optional fitresult, mostly intended to add derived parameters 22 May 2023, 20:57:02 UTC
1dcc832 remove propagation of uncertainties to constraints from Minimizer to Parameter 22 May 2023, 16:11:57 UTC
629e90d do not recalculate uncertainties in model, call Parameters.creat_uvars() instead 22 May 2023, 16:10:32 UTC
87efd71 fix test for expression for propagated uncertainties 22 May 2023, 16:09:28 UTC
1385e58 move uncertainty calculations to be part of Parameters.create_uvars() 22 May 2023, 15:47:20 UTC
bea462d restore result.uvars explicitly from uncertainties rather than trying to serialize it fully 17 May 2023, 21:15:03 UTC
7994ba4 add uncertainties values as json-encodeable 17 May 2023, 21:12:41 UTC
back to top