Published October 14, 2021
| Version 1.0.3
Software
Open
lmfit/lmfit-py: 1.0.3
Creators
- Matt Newville1
- Renee Otten
- Andrew Nelson
- Antonino Ingargiola2
- Till Stensitzki3
- Dan Allan4
- Austin Fox
- Faustin Carter
- Michał
- Ray Osborn
- Dima Pustakhod
- lneuhaus
- Sebastian Weigand
- Glenn
- Christoph Deil5
- Mark6
- Allan L. R. Hansen
- Gustavo Pasquevich
- Leon Foks7
- Nicholas Zobrist8
- Oliver Frost
- Alexandre Beelen
- Stuermer9
- azelcer
- Andrew Hannum
- Anthony Polloreno10
- Jens Hedegaard Nielsen11
- Shane Caldwell
- Anthony Almarza
- Arun Persaud
- 1. University of Chicago
- 2. UCLA
- 3. Freie Universität Berlin
- 4. Brookhaven National Lab
- 5. HeidelbergCement
- 6. Brookhaven National Laboratory
- 7. Contractor U.S. Geological Survey
- 8. UC Santa Barbara
- 9. Uchicago
- 10. University of Colorado Boulder
- 11. @qdev-dk
Description
Version 1.0.3 Release Notes (October 14, 2021)
Potentially breaking change:
- argument
x
is now required for theguess
method of Models (Issue #747; PR #748)
To get reasonable estimates for starting values one should always supply both x
and y
values; in some cases it would work
when only providing data
(i.e., y-values). With the change above, x
is now required in the guess
method call, so scripts might
need to be updated to explicitly supply x
.
Bug fixes/enhancements:
- do not overwrite user-specified figure titles in Model.plot() functions and allow setting with
title
keyword argument (PR #711) - preserve Parameters subclass in deepcopy (@jenshnielsen; PR #719)
- coerce
data
andindepdent_vars
to NumPy array withdtype=float64
ordtype=complex128
where applicable (Issues #723 and #728) - fix collision between parameter names in built-in models and user-specified parameters (Issue #710 and PR #732)
- correct error message in PolynomialModel (@kremeyer; PR #737)
- improved handling of altered JSON data (Issue #739; PR #740, reported by Matthew Giammar)
- map
max_nfev
tomaxiter
when usingdifferential_evolution
(PR #749, reported by Olivier B.) - correct use of noise versus experimental uncertainty in the documentation (PR #751, reported by Andrés Zelcer)
- specify return type of
eval
method more precisely and allow for plotting of (Complex)ConstantModel by coercing theirfloat
,int
, orcomplex
return value to anumpy.ndarray
(Issue #684 and PR #754) - fix
dho
(Damped Harmonic Oscillator) lineshape (PR #755; @rayosborn) - reset
Minimizer._abort
toFalse
before starting a new fit (Issue #756 and PR #757; @azelcer) - fix typo in
guess_from_peak2d
(@ivan-usovl; PR #758)
Various:
- update asteval dependency to >= 0.9.22 to avoid DeprecationWarnings from NumPy v1.20.0 (PR #707)
- remove incorrectly spelled
DonaichModel
anddonaich
lineshape, deprecated in version 1.0.1 (PR #707) - remove occurrences of OrderedDict throughout the code; dict is order-preserving since Python 3.6 (PR #713)
- update the contributing instructions (PR #718; @martin-majlis)
- (again) defer import of matplotlib to when it is needed (@zobristnicholas; PR #721)
- fix description of
name
argument inParameters.add
(@kristianmeyerr; PR #725) - update dependencies, make sure a functional development environment is installed on Windows (Issue #712)
- use
setuptools_scm
for version info instead ofversioneer
(PR #729) - transition to using
f-strings
(PR #730) - mark
test_manypeaks_speed.py
as flaky to avoid intermittent test failures (repeat up to 5 times; PR #745) - update scipy dependency to >= 1.14.0 (PR #751)
- improvement to output of examples in sphinx-gallery and use higher resolution figures (PR #753)
- remove deprecated functions
lmfit.printfuncs.report_errors
andasteval
argument inParameters
class (PR #759)
Files
lmfit/lmfit-py-1.0.3.zip
Files
(358.8 kB)
Name | Size | Download all |
---|---|---|
md5:97bb11ecc973396cc7b4315161f91a59
|
358.8 kB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/lmfit/lmfit-py/tree/1.0.3 (URL)