Skip to main content
Join the official Python Developers Survey 2018 and win valuable prizes: Start the survey!

Utilities for nonlinear least-squares fits.

Project description

This package facilitates least-squares fitting of noisy data by
multi-dimensional, nonlinear functions of arbitrarily many
parameters. :mod:`lsqfit` provides the fitting capability;
it makes heavy use of package :mod:`gvar`, which provides tools for
the analysis of error propagation, and also for the creation of
complicated multi-dimensional gaussian distributions. (:mod:`gvar`
is distributed separately.) :mod:`lsqfit` supports Bayesian priors
for the fit parameters, with arbitrarily complicated multidimensional
Gaussian distributions. It uses automatic differentiation to compute
gradients, greatly simplifying the design of fit functions.

In addition to :mod:`gvar`, this package uses the Gnu Scientific
Library (GSL) to do the fitting (and/or scipy), numpy for efficient
array arithmetic, and cython to compile efficient core routines and
interface code.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
lsqfit-9.3.tar.gz (2.1 MB) Copy SHA256 hash SHA256 Source None Mar 30, 2018

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page