From 37761fc82b566d0c159a4352de7997dcdddd6d11 Mon Sep 17 00:00:00 2001 From: reneeotten Date: Thu, 22 Aug 2019 08:54:26 -0400 Subject: [PATCH 1/2] DOC: add contributors to THANKS.txt --- THANKS.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/THANKS.txt b/THANKS.txt index 44b531177..253bfb9da 100644 --- a/THANKS.txt +++ b/THANKS.txt @@ -51,8 +51,9 @@ of size of the contribution to the existing code) are from: Additional patches, bug fixes, and suggestions have come from Faustin Carter, Christoph Deil, Francois Boulogne, Thomas Caswell, Colin Brosseau, nmearl, Gustavo Pasquevich, Clemens Prescher, LiCode, Ben Gamari, Yoav -Roam, Alexander Stark, Alexandre Beelen, and many others. +Roam, Alexander Stark, Alexandre Beelen, Andrey Aristov, Nicholas Zobrist, +and many others. The lmfit code obviously depends on, and owes a very large debt to the code -in scipy.optimize. Several discussions on the scipy-user and lmfit mailing +in scipy.optimize. Several discussions on the SciPy-user and lmfit mailing lists have also led to improvements in this code. From b5f55188ac2ddebb5d5b4987a0a6deff5ebc416d Mon Sep 17 00:00:00 2001 From: reneeotten Date: Thu, 22 Aug 2019 08:57:05 -0400 Subject: [PATCH 2/2] REL: update release notes for 0.9.14 - link to the release notes in the installation instructions --- doc/installation.rst | 4 +++- doc/whatsnew.rst | 36 +++++++++++++++++++++++++++++++++++- 2 files changed, 38 insertions(+), 2 deletions(-) diff --git a/doc/installation.rst b/doc/installation.rst index f8c3df834..af856903b 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -21,6 +21,7 @@ Downloading and Installation .. _sphinx: https://www.sphinx-doc.org .. _jupyter_sphinx: https://jupyter-sphinx.readthedocs.io .. _ImageMagick: https://www.imagemagick.org/ +.. _release_notes: https://lmfit.github.io/lmfit-py/whatsnew.html Prerequisites @@ -55,7 +56,8 @@ Downloads ~~~~~~~~~~~~~ The latest stable version of lmfit is |release| and is available from `PyPI -`_. +`_. Check the `release_notes`_ for a list +of changes compared to earlier releases. Installation ~~~~~~~~~~~~~~~~~ diff --git a/doc/whatsnew.rst b/doc/whatsnew.rst index 1fde721c5..6bfb41534 100644 --- a/doc/whatsnew.rst +++ b/doc/whatsnew.rst @@ -11,6 +11,40 @@ significant to the use and behavior of the library. This is not meant to be a comprehensive list of changes. For such a complete record, consult the `lmfit GitHub repository`_. +.. _whatsnew_0914_label: + +Version 0.9.14 Release Notes +========================================== + +New features: + +- the global optimizers ``shgo`` and ``dual_annealing`` (new in SciPy v1.2) are now supported (Issue #527; PRs #545 and #556) +- ``eval`` method added to the Parameter class (PR #550 by @zobristnicholas) +- avoid ZeroDivisionError in ``printfuncs.params_html_table`` (PR #552 by @aaristov and PR #559) +- add parallelization to ``brute`` method (PR #564, requires SciPy v1.3) + +Bug fixes: + +- consider only varying parameters when reporting potential issues with calculating errorbars (PR #549) and compare + ``value`` to both ``min`` and ``max`` (PR #571) +- guard against division by zero in lineshape functions and ``FWHM`` and ``height`` expression calculations (PR #545) +- fix issues with restoring a saved Model (Issue #553; PR #554) +- always set ``result.method`` for ``emcee`` algorithm (PR #558) +- more careful adding of parameters to handle out-of-order constraint expressions (Issue #560; PR #561) +- make sure all parameters in Model.guess() use prefixes (PRs #567 and #569) +- use ``inspect.signature`` for PY3 to support wrapped functions (Issue #570; PR #576) +- fix ``result.nfev``` for ``brute`` method when using parallelization (Issue #578; PR #579) + +Various: + +- remove "missing" in the Model class (replaced by nan_policy) and "drop" as option to nan_policy + (replaced by omit) deprecated since 0.9 (PR #565). +- deprecate 'report_errors' in printfuncs.py (PR #571) +- updates to the documentation to use ``jupyter-sphinx`` to include examples/output (PRs #573 and #575) +- include a Gallery with examples in the documentation using ``sphinx-gallery`` (PR #574) +- improve test-coverage (PRs #571 and #572) +- update pre-commit hooks and several docstrings + .. _whatsnew_0913_label: Version 0.9.13 Release Notes @@ -32,7 +66,7 @@ Bug fixes: - improve deprecation warnings for outdated nan_policy keywords (#540) - fix for edge case in gformat() (#547) -Project managements: +Project management: - using pre-commit framework to improve and enforce coding style (#533) - added code coverage report to github main page