[lmfit-py] 01/01: first package

Frédéric-Emmanuel Picca picca at moszumanska.debian.org
Fri Mar 7 10:12:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

picca pushed a commit to branch master
in repository lmfit-py.

commit 367e735024fa28b3c51946c4a65af0e6e3190273
Author: Frédéric-Emmanuel PICCA <picca at synchrotron-soleil.fr>
Date:   Fri Mar 7 11:11:29 2014 +0100

    first package
---
 debian/changelog            |   5 ++
 debian/compat               |   1 +
 debian/control              | 131 ++++++++++++++++++++++++++++++++++++++++++++
 debian/copyright            |  32 +++++++++++
 debian/rules                |  14 +++++
 debian/source/format        |   1 +
 debian/source/local-options |   1 +
 debian/watch                |   3 +
 8 files changed, 188 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..7020e84
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+lmfit-py (0.7.4-1) unstable; urgency=low
+
+  * Initial release (Closes: #XXXXXX)
+
+ -- Picca Frédéric-Emmanuel <picca at debian.org>  Fri, 07 Mar 2014 09:05:26 +0200
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..ec63514
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..8eaefd8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,131 @@
+Source: lmfit-py
+Maintainer: Debian Science Maintainers <debian-science-maintainers at lists.alioth.debian.org>
+Uploaders: Picca Frédéric-Emmanuel <picca at debian.org>
+Section: science
+Priority: extra
+Build-Depends: debhelper (>= 9),
+               dh-python,
+               python-all,
+               python-numpy,
+               python-scipy,
+               python3-all,
+               python3-numpy,
+               python3-scipy
+Standards-Version: 3.9.5
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=debian-science/packages/lmfit-py.git
+Vcs-Git: git://anonscm.debian.org/debian-science/packages/lmfit-py.git
+Homepage: http://lmfit.github.io/lmfit-py/
+X-Python-Version: >= 2.6
+X-Python3-Version: >= 3.2
+
+Package: python-lmfit
+Architecture: all
+Section: python
+Depends: ${misc:Depends},
+         ${python:Depends},
+         python-scipy
+Description: Least-Squares Minimization with Constraints (Python 2)
+ 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
+ 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 2 version of the package.
+
+Package: python3-lmfit
+Architecture: all
+Section: python
+Depends: ${misc:Depends},
+         ${python:Depends},
+         python3-scipy
+Description: 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
+ 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.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..ce6bcda
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,32 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: LM-Fit Development Team
+Upstream-Contact: matt.newville at gmail.com
+Source: http://lmfit.github.io/lmfit-py/
+
+Files: debian/*
+Copyright: © 2014, Picca Frédéric-Emmanuel <picca at debian.org>
+License: Expat
+
+Files: *
+Copyright: 2012-2014 Matthew Newville, The University of Chicago
+                     Till Stensitzki, Freie Universitat Berlin
+License: Expat
+
+License: Expat
+ Permission to use and redistribute the source code or binary forms of
+ this software and its documentation, with or without modification is
+ hereby granted provided that the above notice of copyright, these
+ terms of use, and the disclaimer of warranty below appear in the
+ source code and documentation, and that none of the names of above
+ institutions or authors appear in advertising or endorsement of works
+ derived from this software without specific prior written permission
+ from all parties.
+ .
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
+ BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
+ ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THIS
+ SOFTWARE.
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..c408b44
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,14 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+export DH_VERBOSE=1
+export PYBUILD_NAME=lmfit
+
+%:
+	dh $@ --with python2,python3 --buildsystem=pybuild
+
+override_dh_install:
+	dh_install
+	dh_numpy
+	dh_numpy3
\ No newline at end of file
diff --git a/debian/source/format b/debian/source/format
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/source/local-options b/debian/source/local-options
new file mode 100644
index 0000000..4aceb10
--- /dev/null
+++ b/debian/source/local-options
@@ -0,0 +1 @@
+unapply-patches
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..48db5a1
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+opts=filenamemangle=s/.+\/v?(\d\S*)\.tar\.gz/lmfit-py-$1\.tar\.gz/ \
+  https://github.com/lmfit/lmfit-py/tags .*/v?(\d\S*)\.tar\.gz

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/lmfit-py.git



More information about the debian-science-commits mailing list