BSD Ports

math/py-lmfit 1.3.4 NetBSD

Least-squares minimization with bounds and constraints

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
65c9b1c391
License
modified-bsd
Categories
math, python
Package size
175.5 KiB, 1276.1 KiB installed

Description

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.

In the other systems

SystemPortVersion
NetBSDmath/py-lmfit1.3.4
FreeBSDmath/py-lmfit1.3.4
DragonFlymath/py-lmfit1.3.2
HardenedBSDmath/py-lmfit1.3.4
GhostBSDmath/py-lmfit1.3.4

Install

Binary package:

pkgin install py312-lmfit

From pkgsrc:

cd /usr/pkgsrc/math/py-lmfit && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.3.4
NetBSD 10.1 aarch641.3.4
SmartOS / illumos x86_641.3.4
macOS 15 arm641.3.4

Dependencies

Run dependencies 6
Required by 1

Configuration

No options to configure.

Service scripts
none
Flavors
py313-lmfit-1.3.4, py314-lmfit-1.3.4

Commit history 1

DateCommitCreditsLog message
65c9b1c391 adam Forget Python 3.10