SHA256
1
0
forked from pool/python-lmfit

Accepting request 1105049 from home:mcalabkova:branches:devel:languages:python:numeric

- Update to 1.2.2
  * add create_params function
  * add ModelResult.summary() to return many resulting fit statistics 
    and attributes into a JSON-able dict.
  * update tests for latest versions of NumPy and SciPy.
  * Coercing of user input data and independent data for Model to 
    float64 ndarrays is somewhat less aggressive and will not increase 
    the precision of numpy ndarrays
  * improve Model.make_params and create_params to take optional dict 
    of Parameter attributes
  * Outputs of residual functions, including Model._residual, are more
    explicitly coerced to 1d-arrays of datatype Float64. This decreases the
    expectation for the user-supplied code to return ndarrays, and increases
    the tolerance for more “array-like” objects or ndarrays that are not
    Float64 or 1-dimensional.

OBS-URL: https://build.opensuse.org/request/show/1105049
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:numeric/python-lmfit?expand=0&rev=9
This commit is contained in:
Markéta Machová 2023-08-22 19:05:32 +00:00 committed by Git OBS Bridge
parent 3434fdbedb
commit 5cfc2ad4f7
4 changed files with 24 additions and 4 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a2755b708ad7bad010178da28f082f55cbee7a084a625b452632e2d77b5391fb
size 308634

3
lmfit-1.2.2.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:044a052a11a61da0576274504c17eb7e2803b41128e25821e96632207f23c88c
size 336346

View File

@ -1,3 +1,22 @@
-------------------------------------------------------------------
Mon Aug 21 10:32:37 UTC 2023 - Markéta Machová <mmachova@suse.com>
- Update to 1.2.2
* add create_params function
* add ModelResult.summary() to return many resulting fit statistics
and attributes into a JSON-able dict.
* update tests for latest versions of NumPy and SciPy.
* Coercing of user input data and independent data for Model to
float64 ndarrays is somewhat less aggressive and will not increase
the precision of numpy ndarrays
* improve Model.make_params and create_params to take optional dict
of Parameter attributes
* Outputs of residual functions, including Model._residual, are more
explicitly coerced to 1d-arrays of datatype Float64. This decreases the
expectation for the user-supplied code to return ndarrays, and increases
the tolerance for more “array-like” objects or ndarrays that are not
Float64 or 1-dimensional.
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Jan 13 15:42:09 UTC 2023 - Ben Greiner <code@bnavigator.de> Fri Jan 13 15:42:09 UTC 2023 - Ben Greiner <code@bnavigator.de>

View File

@ -17,7 +17,7 @@
Name: python-lmfit Name: python-lmfit
Version: 1.1.0 Version: 1.2.2
Release: 0 Release: 0
Summary: Least-Squares Minimization with Bounds and Constraints Summary: Least-Squares Minimization with Bounds and Constraints
License: BSD-3-Clause AND MIT License: BSD-3-Clause AND MIT
@ -89,6 +89,7 @@ donttest+=" or test_shgo_scipy_vs_lmfit_2"
# fails on 32-bit # fails on 32-bit
if [ $(getconf LONG_BIT) -ne 64 ]; then if [ $(getconf LONG_BIT) -ne 64 ]; then
donttest+=" or (test_itercb_minimizer_class and leastsq and False)" donttest+=" or (test_itercb_minimizer_class and leastsq and False)"
donttest+=" or (test_aborted_solvers and brute)"
fi fi
%pytest -k "not ($donttest)" %pytest -k "not ($donttest)"