
Security News
Deno 2.4 Brings Back deno bundle, Improves Dependency Management and Observability
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
This package facilitates least-squares fitting of noisy data by
multi-dimensional, nonlinear functions of arbitrarily many parameters.
lsqfit
supports Bayesian priors for the fit parameters, with arbitrarily
complicated multidimensional Gaussian distributions. A tutorial on fitting is
included in the documentation; documentation is in the doc/
subdirectory: see doc/html/index.html
or https://lsqfit.readthedocs.io.
The fitter uses automatic differentiation to compute gradients of the fit function. This greatly simplifies coding of the fit function since only the function itself need be coded. Coding is also simplified by using dictionaries (instead of arrays) for representing fit data and fit priors.
lsqfit
makes heavy use of Python package gvar
, which
simplifies the analysis of error propagation and the creation of
multi-dimensional Gaussian distributions (for fit priors).
This code has been used on a laptop to fit functions of tens-to-thousands of
parameters to tens-to-thousands of pieces of data. lsqfit
uses the GNU
Scientific Library (GSL) and/or scipy
to do the fitting, numpy
for
efficient array arithmetic, and cython
to compile efficient code that
interfaces between Python and the C-based GSL.
Information on how to install the components is in the INSTALLATION
file.
To test the libraries try make tests
. Some examples are give in the
examples/
subdirectory.
Version numbers: Incompatible changes are signaled by incrementing
the major
version number, where version numbers have the form
major.minor.patch
. The minor
number signals new features, and the
patch
number bug fixes.
| Created by G. Peter Lepage (Cornell University) 2008 | Copyright (c) 2008-2021 G. Peter Lepage
.. image:: https://zenodo.org/badge/4593457.svg :target: https://zenodo.org/badge/latestdoi/4593457
FAQs
Utilities for nonlinear least-squares fits.
We found that lsqfit demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.4 brings back bundling, improves dependency updates and telemetry, and makes the runtime more practical for real-world JavaScript projects.
Security News
CVEForecast.org uses machine learning to project a record-breaking surge in vulnerability disclosures in 2025.
Security News
Browserslist-rs now uses static data to reduce binary size by over 1MB, improving memory use and performance for Rust-based frontend tools.