forked from lmfit/lmfit-py
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
56 lines (51 loc) · 2.58 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
#!/usr/bin/env python
from setuptools import setup
import versioneer
long_desc = """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. """
setup(name='lmfit',
version=versioneer.get_version(),
cmdclass=versioneer.get_cmdclass(),
author='LMFit Development Team',
author_email='[email protected]',
url='https://lmfit.github.io/lmfit-py/',
download_url='https://lmfit.github.io//lmfit-py/',
install_requires=['asteval>=0.9.12',
'numpy>=1.16',
'scipy>=1.2',
'six>=1.11',
'uncertainties>=3.0.1'],
python_requires='>=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*',
license='BSD-3',
description="Least-Squares Minimization with Bounds and Constraints",
long_description=long_desc,
platforms=['Windows', 'Linux', 'Mac OS X'],
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Topic :: Scientific/Engineering',
],
keywords='curve-fitting, least-squares minimization',
tests_require=['pytest'],
package_dir={'lmfit': 'lmfit'},
packages=['lmfit', 'lmfit.ui'],
)