https://github.com/lmfit/lmfit-py

sort by:
Revision Author Date Message Commit Date
f0707cc Merge pull request #740 from lmfit/handle_altered_json_parameters Handle altered json parameters 22 August 2021, 14:30:25 UTC
49cff73 FIX/ENH: more robust reading in of (altered) JSON data Set-up bounds before setting the Parameter value when loading a JSON or other "stateful" representation of a Parameter. 20 August 2021, 18:53:35 UTC
24d5d5a TST: add test of altered JSON for parameters 20 August 2021, 18:53:35 UTC
d162211 MAINT: update pyupgrade pre-commit hook 20 August 2021, 18:49:19 UTC
90300bb CI: update NumPy to latest version 16 August 2021, 21:24:44 UTC
15a952b CI: delay notification by codecov bot Currently the codecov bot comment/notifies after each coverage file is uploaded. Since we run the CI jobs in parallel, the initial comment will always show that the coverage decreases (and thus the PR fails). With this commit, the codecov bot will only comment in the PR after the eight builds for minimum/current dependencies have finished. 09 August 2021, 13:28:15 UTC
ae34ca0 CI: run test-suite regardless of pre-commit result The test-suite will now always be executed, even after a 'failure' in the pre-commit hooks. If that happens, Azure will still label the build as 'failed', but at least it is possible to see whether this is only due to codestyle issues or functional changes. 09 August 2021, 13:27:39 UTC
1ed6ce9 DOC: add entry to whatsnew.rst and THANKS.txt 09 August 2021, 11:24:53 UTC
8c0f980 MAINT: update pre-commit hooks 09 August 2021, 11:24:53 UTC
09c075a FIX: correct error message in PolynomialModel 09 August 2021, 10:38:06 UTC
31c027d DOC: add entry to whatsnew.rst 02 August 2021, 17:10:58 UTC
b1f7871 CI: update NumPy/SciPy to latest versions 02 August 2021, 17:10:58 UTC
68d0ed4 MAINT: update pyupgrade/isort pre-commit hooks 02 August 2021, 17:10:58 UTC
21d3e6b Merge pull request #732 from lmfit/fix_model_name_collisions Fix model name collisions 05 July 2021, 15:05:49 UTC
530103d appease flake8 05 July 2021, 13:57:57 UTC
b783184 appease flake8 whitespace check 05 July 2021, 13:54:56 UTC
54a36ae whitespace cleanup 05 July 2021, 13:43:01 UTC
83e1bd4 explicitly set model function args from prefixed param names to avoid collision with unprefixed parameters of the same name 05 July 2021, 13:41:48 UTC
3da8e62 add test of collisions with unprefixed parameter when constructing function arguments for model function 05 July 2021, 13:41:39 UTC
65f5a4d Merge pull request #729 from reneeotten/building_testing Fixes to building and testing 28 June 2021, 17:05:52 UTC
74bd2ea ENH: set random.seed in examples for slightly less randomness 25 June 2021, 00:46:05 UTC
4f2471d BLD: remove conda-recipe directory - recipe is hosted at: https://github.com/conda-forge/lmfit-feedstock 25 June 2021, 00:46:05 UTC
7f73ee9 CI: don't update the pre-commit hooks - use the versions as specified in the .pre-commit-config.yaml file 25 June 2021, 00:46:05 UTC
461915c BLD: use setuptools_scm instead of versioneer 25 June 2021, 00:46:05 UTC
5bb42b9 TST: clean-up since minimum SciPy version is 1.3 24 June 2021, 20:16:39 UTC
2c8762f TST: remove numpy.testing.dec - deprecated since NumPy v1.21.0 and anyway unused 24 June 2021, 20:16:39 UTC
9cb4056 TST: fixes for SciPy 1.7.0 24 June 2021, 20:16:39 UTC
3a032b4 MAINT: update pre-commit hooks 24 June 2021, 20:16:39 UTC
e09847a CI: update NumPy and SciPy versions 24 June 2021, 20:16:39 UTC
49150ec CI: use pytest-azurepipelines syntax - run tests/coverage and also upload results to Azure - now the build actually fails when tests fail 24 June 2021, 20:16:39 UTC
df4fcb7 TST: fix failing test when pandas is unavailable 24 June 2021, 20:16:39 UTC
b854dbb MAINT: update pre-commit hooks 18 June 2021, 19:58:08 UTC
590f9d0 Merge pull request #728 from reneeotten/coerce_dtypes_Model_class Coerce `data` and `independent_vars` in Model class to `float64`/`complex128` 31 May 2021, 23:15:41 UTC
c6c2428 DOC: update whatsnew.rst 30 May 2021, 01:39:16 UTC
bed9079 TST: add tests for data coercion - regression test for GH Issue 727 with pandas - coercion of dtypes for 'data' and 'independent_vars' 30 May 2021, 01:39:16 UTC
25d0a85 ENH/FIX: coerce 'data' and 'independent_var' in Model class - input 'data' will always become 'float64' or 'complex128' - coercion is only done for certain data types in case of an 'independent_var' to still allow for more complicated (user-defined) data types See: #723 Closes: #727 30 May 2021, 01:39:10 UTC
c4022eb MAINT: update pyupgrade pre-commit hook 29 May 2021, 12:19:24 UTC
0d0cf90 CI: use latest NumPy version 21 May 2021, 20:27:02 UTC
80727aa MAINT: update pre-commit hooks 21 May 2021, 20:25:38 UTC
3ae1a2a MAINT: remove unused definition 13 May 2021, 02:36:06 UTC
78498f5 MAINT: update pyupgrade/flake8 pre-commit hooks [skip ci] 10 May 2021, 15:34:48 UTC
381a1af CI: fix install of NumPy with Python 3.10-dev 08 May 2021, 04:05:53 UTC
187a039 BLD: install pycairo on Windows - workaround for Issue #712 and to make sure that also on Windows a functional development environment is installed. 08 May 2021, 01:48:06 UTC
1bc84a0 CI: test latest stable Python also on Windows 08 May 2021, 01:48:06 UTC
af15a7f TST: use pytest.importorskip 08 May 2021, 01:47:31 UTC
713dc43 MAINT: fix MatplotlibDeprecationWarning that caused test to fail 08 May 2021, 01:44:00 UTC
5431ede CI: update SciPy version to 1.6.3 04 May 2021, 16:19:14 UTC
046094a MAINT: update pypupgrade pre-commit hook - add check-case-conflict 04 May 2021, 16:17:43 UTC
6c0ad72 MAINT: update yesqa pre-commit hook 24 April 2021, 22:46:12 UTC
019c969 DOC: fix type/description for argument 'name' 21 April 2021, 11:58:47 UTC
0805d0a MAINT: update pyupgrade/flake8 pre-commit hooks 21 April 2021, 01:30:33 UTC
c448ced BLD: update dependency version in setup.py this should be consistent with the version information in requirements.txt [skip ci] 10 April 2021, 03:13:31 UTC
4c31115 Merge pull request #721 from zobristnicholas/master ENH: defer import of matplotlib.pyplot to plotting functions 09 April 2021, 21:38:50 UTC
c06137e MAINT: update pyupgrade pre-commit hook - apply suggested changes 09 April 2021, 03:26:27 UTC
698d86d CI: update SciPy/NumPy to latest version 09 April 2021, 03:23:22 UTC
1808a8f defer import of pyplot 07 April 2021, 19:08:31 UTC
b67ce56 DOC: update whatsnew.rst 26 March 2021, 12:02:19 UTC
03daaf8 Merge pull request #718 from martin-majlis/fix-contributing-guidline Adjust contributing guide to mention all steps 26 March 2021, 03:46:50 UTC
60477b2 MAINT: update contributing guide 26 March 2021, 02:16:17 UTC
39bc25a MAINT: update pyupgrade/isort pre-commit hook 26 March 2021, 01:55:24 UTC
bd56a06 Merge pull request #719 from jenshnielsen/parameter_subclass Preserve Parameters subclass in deepcopy 18 March 2021, 01:37:06 UTC
e743e7e MAINT: update pyupgrade/flake8 pre-commit hooks 17 March 2021, 02:30:26 UTC
af255b2 add simple test that subclass is preserved when deepcopying 16 March 2021, 09:18:39 UTC
d133317 Use __class__ in deepcopy this allows a subclass of parameter to be preserved when copied 16 March 2021, 08:59:32 UTC
882751a Merge pull request #711 from reneeotten/change-figure-title FIX: do not override user-specified figure title in Model.plot() functions 04 March 2021, 01:02:24 UTC
24ab25b CI: use latest released cython version The "undefined symbol: _PyGen_Send" has been fixed. 27 February 2021, 22:10:19 UTC
673f4cf CI: update to latest NumPy/SciPy for Python 3.10-dev build 27 February 2021, 22:10:15 UTC
75f0c3d MAINT: update pygrep-hooks pre-commit hook 25 February 2021, 02:47:30 UTC
dd362a9 TST: remove xfail for two test that now pass The DeprecationWarnings are resolved in asteval 0.9.22, which we require, and the tests pass again. 25 February 2021, 02:47:30 UTC
653b078 ENH: allow setting figure title with 'title' keyword argument Priority for setting the figure title: 1. 'title' keyword argument to 'plot', 'plot_fit', or 'plot_residual' function 2. 'title' supplied to 'ax_kws', 'ax_fit_kws', or 'ax_res_kws' argument If no title is set using either methods then it will use the Model name. See: https://groups.google.com/g/lmfit-py/c/3kxu8OYCAW4/m/61dhxzJkAgAJ 25 February 2021, 02:47:28 UTC
697ba94 FIX: do not override user-specified figure title in Model.plot() functions Currently if a 'title' is supplied using 'ax_kws', 'ax_res_kws', or 'ax_fit_kws' to the Model.plot() functions it is later on set to 'model.name'. See: https://groups.google.com/g/lmfit-py/c/3kxu8OYCAW4/m/61dhxzJkAgAJ 25 February 2021, 02:42:37 UTC
b7d458b Merge pull request #714 from spalato/bugfix/test_composite_plotting Skipping a plotting test in case `import matplotlib.pyplot` raises OSError 23 February 2021, 21:03:31 UTC
4283774 Skipping a plotting test in case `import matplotlib.pyplot` raises OSError. 22 February 2021, 19:22:37 UTC
500ee04 Merge pull request #713 from reneeotten/drop-OrderedDict remove use of OrderedDict 20 February 2021, 16:19:03 UTC
f60d332 MAINT: add __repr__ from OrderedDict to Parameters class The __repr__ function of dict() and OrderedDict() are not the same. Since we are now inheriting from the former, override the __repr__ method to make sure the output remains unchanged. 19 February 2021, 04:09:47 UTC
0ed6e12 MAINT: remove occurences of OrderedDict - dictionaries preserve order of addition since Python 3.6 19 February 2021, 03:56:34 UTC
7517f75 DOC: add intersphinx mapping for Pandas and SymPy 18 February 2021, 02:41:28 UTC
b87dd57 Merge pull request #707 from reneeotten/various-minor-updates a few minor updates 16 February 2021, 00:12:08 UTC
1ff9a1a DEP: remove wrongly spelled Donaich model/lineshape - incorrect spelling was deprecated in version 1.0.1 and resulted in a FutureWarning to update to the correct spelling (i.e., Doniach) 12 February 2021, 01:49:31 UTC
2e4b703 CI/BLD: bump asteval requirement to >=0.9.22 - install again from PyPI on Azure Pipelines - resolves DeprecationWarnings from NumPy v1.20.0 12 February 2021, 01:34:38 UTC
270e978 MAINT: update pyupgrade pre-commit hook 12 February 2021, 01:34:38 UTC
10149f7 TST: improve test-coverage in test_model.py 12 February 2021, 01:34:20 UTC
4e74a74 DOC: minor changes to docs/examples - suppress certain RuntimeWarnings in examples - fix a few typos and improve codestyle - in SymPy example: use param2_values and remove unneeded variables to silence the UserWarning about "keyword argument not matching any arguments of the model function". 09 February 2021, 02:50:50 UTC
ddf7d40 faq rst fixes 07 February 2021, 22:30:42 UTC
24a569a add FAQ entries for more common fitting problems 07 February 2021, 22:15:45 UTC
00361b5 remove link to GSECARS conda channel 07 February 2021, 22:15:08 UTC
4edb1ea MAINT: update pygrep-hooks for pre-commit 07 February 2021, 17:01:51 UTC
e966106 DOC: a few more minor corrections 07 February 2021, 17:00:45 UTC
c6cd665 DOC: minor changes, correct typos, update links 07 February 2021, 04:22:01 UTC
802bb28 CI: install asteval from GitHub master branch - to remove DeprecationWarnings coming from NumPy v1.20.0; go back to the PyPI version after the next release 07 February 2021, 00:44:50 UTC
203de45 CI: fix running the test-suite with Python3.10-devel 07 February 2021, 00:44:50 UTC
c1dd868 FIX: better support for save/load of ExpressionModel - make sure init_params and init_fit get restored for ModelResult See: https://groups.google.com/g/lmfit-py/c/osukDLEbYT8/m/ATUEu-9rBgAJ 07 February 2021, 00:44:34 UTC
2e541db DOC: add badge to README with link to GitHub Pages 06 February 2021, 03:07:47 UTC
8513f96 Merge pull request #703 from reneeotten/documentation DOC: last changes for new release 05 February 2021, 15:09:25 UTC
eaa240f CI: install wheel package To avoid the message: Using legacy 'setup.py install' for <package<, since package 'wheel' is not installed. 05 February 2021, 03:42:53 UTC
668910f CI: minimize dependencies for building documentation 05 February 2021, 03:42:53 UTC
8c6d264 Merge pull request #701 from lmfit/relax_epsilon Relax epsilon, some testing updates 05 February 2021, 03:38:48 UTC
06609e8 MAINT: update issue template and contributing guidelines 05 February 2021, 02:27:51 UTC
d692b24 TST: add test for SineModel.guess() 05 February 2021, 02:21:23 UTC
c8ed043 REL: update publish_docs.sh 04 February 2021, 03:34:38 UTC
back to top