lmfit-py 1.0.1-6 source package in Ubuntu
Changelog
lmfit-py (1.0.1-6) unstable; urgency=medium * Team upload [ Picca Frédéric-Emmanuel ] * Acknowledge Ole Streicher for fixing #987459 [ Graham Inggs ] * Skip test_model_nan_policy and test_manypeaks_speed (Closes: #976952) -- Graham Inggs <email address hidden> Thu, 06 May 2021 08:32:40 +0000
Upload details
- Uploaded by:
- Debian Science Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Science Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section |
---|
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
lmfit-py_1.0.1-6.dsc | 2.4 KiB | 0c73fb27beae1c489228d07f9fc300df5fc1656b24a80db96ef7cc754420a38d |
lmfit-py_1.0.1.orig.tar.gz | 252.3 KiB | d249eb756899360f4d2a544c9458f47fc8f765ac22c09e099530585fd64e286e |
lmfit-py_1.0.1-6.debian.tar.xz | 7.7 KiB | 0bd76a686e90c9a892a6711427b2125e1a2d3a7c30db2f1fdc0129a2afc78042 |
Available diffs
No changes file available.
Binary packages built by this source
- python-lmfit-doc: Least-Squares Minimization with Constraints (Documentation)
The lmfit Python package provides a simple, flexible interface to
non-linear optimization or curve fitting problems. The package
extends the optimization capabilities of scipy.optimize by replacing
floating pointing values for the variables to be optimized with
Parameter objects. These Parameters can be fixed or varied, have
upper and/or lower bounds placed on its value, or written as an
algebraic expression of other Parameters.
.
The principal advantage of using Parameters instead of simple
variables is that the objective function does not have to be
rewritten to reflect every change of what is varied in the fit, or
what relationships or constraints are placed on the Parameters. This
means a scientific programmer can write a general model that
encapsulates the phenomenon to be optimized, and then allow user of
that model to change what is varied and fixed, what range of values
is acceptable for Parameters, and what constraints are placed on the
model. The ease with which the model can be changed also allows one
to easily test the significance of certain Parameters in a fitting
model.
.
The lmfit package allows a choice of several optimization methods
available from scipy.optimize. The default, and by far best tested
optimization method used is the Levenberg-Marquardt algorithm from
MINPACK-1 as implemented in scipy.optimize.leastsq. This method
is by far the most tested and best support method in lmfit, and much
of this document assumes this algorithm is used unless explicitly
stated. An important point for many scientific analysis is that this
is only method that automatically estimates uncertainties and
correlations between fitted variables from the covariance matrix
calculated during the fit.
.
A few other optimization routines are also supported, including
Nelder-Mead simplex downhill, Powell's method, COBYLA, Sequential
Least Squares methods as implemented in scipy.optimize.fmin, and
several others from scipy.optimize. In their native form, some of
these methods setting allow upper or lower bounds on parameter
variables, or adding constraints on fitted variables. By using
Parameter objects, lmfit allows bounds and constraints for all of
these methods, and makes it easy to swap between methods without
hanging the objective function or set of Parameters.
.
Finally, because the approach derived from MINPACK-1 usin the
covariance matrix to determine uncertainties is sometimes questioned
(and sometimes rightly so), lmfit supports methods to do a brute
force search of the confidence intervals and correlations for sets of
parameters.
.
This is the common documentation package.
- python3-lmfit: Least-Squares Minimization with Constraints (Python 3)
The lmfit Python package provides a simple, flexible interface to
non-linear optimization or curve fitting problems. The package
extends the optimization capabilities of scipy.optimize by replacing
floating pointing values for the variables to be optimized with
Parameter objects. These Parameters can be fixed or varied, have
upper and/or lower bounds placed on its value, or written as an
algebraic expression of other Parameters.
.
The principal advantage of using Parameters instead of simple
variables is that the objective function does not have to be
rewritten to reflect every change of what is varied in the fit, or
what relationships or constraints are placed on the Parameters. This
means a scientific programmer can write a general model that
encapsulates the phenomenon to be optimized, and then allow user of
that model to change what is varied and fixed, what range of values
is acceptable for Parameters, and what constraints are placed on the
model. The ease with which the model can be changed also allows one
to easily test the significance of certain Parameters in a fitting
model.
.
The lmfit package allows a choice of several optimization methods
available from scipy.optimize. The default, and by far best tested
optimization method used is the Levenberg-Marquardt algorithm from
MINPACK-1 as implemented in scipy.optimize.leastsq. This method
is by far the most tested and best support method in lmfit, and much
of this document assumes this algorithm is used unless explicitly
stated. An important point for many scientific analysis is that this
is only method that automatically estimates uncertainties and
correlations between fitted variables from the covariance matrix
calculated during the fit.
.
A few other optimization routines are also supported, including
Nelder-Mead simplex downhill, Powell's method, COBYLA, Sequential
Least Squares methods as implemented in scipy.optimize.fmin, and
several others from scipy.optimize. In their native form, some of
these methods setting allow upper or lower bounds on parameter
variables, or adding constraints on fitted variables. By using
Parameter objects, lmfit allows bounds and constraints for all of
these methods, and makes it easy to swap between methods without
hanging the objective function or set of Parameters.
.
Finally, because the approach derived from MINPACK-1 usin the
covariance matrix to determine uncertainties is sometimes questioned
(and sometimes rightly so), lmfit supports methods to do a brute
force search of the confidence intervals and correlations for sets of
parameters.
.
This is the Python 3 version of the package.