math/py-lmfit - The NetBSD Packages Collection

Least-squares minimization with bounds and constraints

A library for least-squares minimization and data fitting in Python.
Built on top of scipy.optimize, lmfit provides a Parameter object
which can be set as fixed or free, can have upper and/or lower
bounds, or can be written in terms of algebraic constraints of
other Parameters. The user writes a function to be minimized as a
function of these Parameters, and the scipy.optimize methods are
used to find the optimal values for the Parameters. The
Levenberg-Marquardt (leastsq) is the default minimization algorithm,
and provides estimated standard errors and correlations between
varied Parameters. Other minimization methods, including Nelder-Mead's
downhill simplex, Powell's method, BFGS, Sequential Least Squares,
and others are also supported. Bounds and contraints can be placed
on Parameters for all of these methods.

In addition, methods for explicitly calculating confidence intervals
are provided for exploring minmization problems where the approximation
of estimating Parameter uncertainties from the covariance matrix
is questionable.

Build dependencies

devel/py-setuptools devel/py-setuptools_scm devel/py-build misc/py-installer pkgtools/mktools pkgtools/cwrappers

Runtime dependencies

math/py-asteval textproc/py-dill math/py-numpy math/py-scipy math/py-uncertainties lang/python312 lang/python312

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64py310-lmfit-1.3.2.tgz
NetBSD 10.0aarch64py311-lmfit-1.3.2.tgz
NetBSD 10.0aarch64py312-lmfit-1.3.2.tgz
NetBSD 10.0aarch64py310-lmfit-1.0.3nb1.tgz
NetBSD 10.0aarch64py311-lmfit-1.0.3nb1.tgz
NetBSD 10.0aarch64py312-lmfit-1.0.3nb1.tgz
NetBSD 10.0aarch64py39-lmfit-1.0.3nb1.tgz
NetBSD 10.0aarch64ebpy310-lmfit-1.0.3nb1.tgz
NetBSD 10.0aarch64ebpy311-lmfit-1.0.3nb1.tgz
NetBSD 10.0aarch64ebpy312-lmfit-1.0.3nb1.tgz
NetBSD 10.0aarch64ebpy39-lmfit-1.0.3nb1.tgz
NetBSD 10.0aarch64ebpy310-lmfit-1.3.2.tgz
NetBSD 10.0aarch64ebpy311-lmfit-1.3.2.tgz
NetBSD 10.0aarch64ebpy312-lmfit-1.3.2.tgz
NetBSD 10.0earmv7hfpy310-lmfit-1.3.2.tgz
NetBSD 10.0earmv7hfpy311-lmfit-1.3.2.tgz
NetBSD 10.0earmv7hfpy312-lmfit-1.3.2.tgz
NetBSD 10.0earmv7hfpy310-lmfit-1.0.3nb1.tgz
NetBSD 10.0earmv7hfpy311-lmfit-1.0.3nb1.tgz
NetBSD 10.0earmv7hfpy312-lmfit-1.0.3nb1.tgz
NetBSD 10.0earmv7hfpy39-lmfit-1.0.3nb1.tgz
NetBSD 10.0earmv7hfpy310-lmfit-1.0.3nb1.tgz
NetBSD 10.0earmv7hfpy311-lmfit-1.0.3nb1.tgz
NetBSD 10.0earmv7hfpy312-lmfit-1.0.3nb1.tgz
NetBSD 10.0earmv7hfpy39-lmfit-1.0.3nb1.tgz
NetBSD 10.0i386py310-lmfit-1.3.2.tgz
NetBSD 10.0i386py311-lmfit-1.3.2.tgz
NetBSD 10.0i386py312-lmfit-1.3.2.tgz
NetBSD 10.0i386py310-lmfit-1.0.3nb1.tgz
NetBSD 10.0i386py311-lmfit-1.0.3nb1.tgz
NetBSD 10.0i386py312-lmfit-1.0.3nb1.tgz
NetBSD 10.0i386py39-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy310-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy311-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy38-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy39-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy310-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy311-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy312-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy38-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy39-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy310-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy311-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy312-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy38-lmfit-1.0.3nb1.tgz
NetBSD 10.0powerpcpy39-lmfit-1.0.3nb1.tgz
NetBSD 10.0sparc64py310-lmfit-1.0.3nb1.tgz
NetBSD 10.0sparc64py311-lmfit-1.0.3nb1.tgz
NetBSD 10.0sparc64py312-lmfit-1.0.3nb1.tgz
NetBSD 10.0sparc64py39-lmfit-1.0.3nb1.tgz
NetBSD 10.0x86_64py310-lmfit-1.3.2.tgz
NetBSD 10.0x86_64py311-lmfit-1.3.2.tgz
NetBSD 10.0x86_64py312-lmfit-1.3.2.tgz
NetBSD 10.0x86_64py310-lmfit-1.0.3nb1.tgz
NetBSD 10.0x86_64py311-lmfit-1.0.3nb1.tgz
NetBSD 10.0x86_64py312-lmfit-1.0.3nb1.tgz
NetBSD 10.0x86_64py39-lmfit-1.0.3nb1.tgz
NetBSD 9.0aarch64py310-lmfit-1.0.3nb1.tgz
NetBSD 9.0aarch64py311-lmfit-1.0.3nb1.tgz
NetBSD 9.0aarch64py312-lmfit-1.0.3nb1.tgz
NetBSD 9.0aarch64py39-lmfit-1.0.3nb1.tgz
NetBSD 9.0i386py310-lmfit-1.3.2.tgz
NetBSD 9.0i386py311-lmfit-1.3.2.tgz
NetBSD 9.0i386py312-lmfit-1.3.2.tgz
NetBSD 9.0i386py310-lmfit-1.0.3nb1.tgz
NetBSD 9.0i386py311-lmfit-1.0.3nb1.tgz
NetBSD 9.0i386py312-lmfit-1.0.3nb1.tgz
NetBSD 9.0i386py39-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy310-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy311-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy37-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy38-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy39-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy310-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy311-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy37-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy38-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy39-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy310-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy311-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy37-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy38-lmfit-1.0.3nb1.tgz
NetBSD 9.0powerpcpy39-lmfit-1.0.3nb1.tgz
NetBSD 9.0x86_64py310-lmfit-1.3.2.tgz
NetBSD 9.0x86_64py311-lmfit-1.3.2.tgz
NetBSD 9.0x86_64py312-lmfit-1.3.2.tgz
NetBSD 9.0x86_64py310-lmfit-1.0.3nb1.tgz
NetBSD 9.0x86_64py311-lmfit-1.0.3nb1.tgz
NetBSD 9.0x86_64py312-lmfit-1.0.3nb1.tgz
NetBSD 9.0x86_64py39-lmfit-1.0.3nb1.tgz
NetBSD 9.3x86_64py310-lmfit-1.3.2.tgz
NetBSD 9.3x86_64py311-lmfit-1.3.2.tgz
NetBSD 9.3x86_64py312-lmfit-1.3.2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.