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

sort by:
Revision Author Date Message Commit Date
bcb23dc Merge pull request #611 from lmfit/v0.9.15 announce end of support for Python 2.7 02 December 2019, 21:45:31 UTC
832aa80 DOC: updates and release notes for v0.9.15 02 December 2019, 00:51:57 UTC
565bfcb STY: fix import orders - update .pre-commit-config.yaml and isort configuration 02 December 2019, 00:51:00 UTC
fb133d9 announce end of suport for Python 2.7 01 December 2019, 23:25:26 UTC
f763980 Merge pull request #600 from lmfit/emcee_improvements Fixes for use of emcee v3 (remove PTsampler), and allow iter_cb to be run and abort fit 21 November 2019, 15:33:29 UTC
8a1a5f6 Fix and refactor prob_func (#604) * Fix and refactor prob_func * Fix style issues, improve test * TST: make test_confidenc.py compatible with PY2 The keywword "nonlocal" is PY3 only, we can switch back to this more explicit testing once we drop PY2. 21 November 2019, 11:37:52 UTC
7dc09a2 Merge pull request #609 from Tillsten/sync_setup Add [flake8] to setup.cfg, remove flake8 args from pre-commit 20 November 2019, 14:31:29 UTC
8323f78 Add [flake8] to setup.cfg, remove from pre-commit 20 November 2019, 13:27:18 UTC
9f32edf Merge pull request #608 from lmfit/params_add fix for adding parameters with user-defined symbols 20 November 2019, 02:20:33 UTC
0c17a7c add '.' to end of docstring 20 November 2019, 02:07:25 UTC
14187cb fix typos 19 November 2019, 20:52:31 UTC
d001938 fix adding Parameters with custom user-defined symbols 19 November 2019, 19:57:49 UTC
bd05970 add test for adding Parameters with user-defined symbols 19 November 2019, 19:56:21 UTC
de48201 STY: end-of-file-fixer for example_detect_outliers.py 19 November 2019, 13:37:31 UTC
2b50080 DEP: add DeprecationWarning when attempting to use the PTSampler 19 November 2019, 13:35:13 UTC
80e0c80 DOC: add make debug as non-default option for building doc 19 November 2019, 13:35:13 UTC
f09c24c TST: update tests for emcee v3 19 November 2019, 13:35:13 UTC
1b90261 MAINT, DOC: require emcee version 3 - update link for emcee homepage and minimum version requirement - set 'progress=False' in the examples to work correctly with sphinx-gallery 19 November 2019, 13:35:13 UTC
b77e781 Merge branch 'master' of https://github.com/lmfit/lmfit-py 14 November 2019, 17:23:07 UTC
d54d9c3 Merge pull request #599 from reneeotten/python38 officially support Python 3.8 09 November 2019, 13:38:14 UTC
fc13374 Merge pull request #595 from reneeotten/parameter_repr changes to the Parameter class and increase coverage 07 November 2019, 18:13:30 UTC
89d6023 DOC: turn all Sphinx warnings into errors The warning for the syntax error introduced in PR #596 did not fail the build and, therefore, went unnoticed. Now Sphinx will error out on warnings and the build would fail. - fix the doctree warning - add "building the documentation" to the PR checklist 07 November 2019, 13:36:36 UTC
7434adb DOC: remove trailing-whitespace; fix syntax error, use jupyter-execute 07 November 2019, 12:30:39 UTC
b3defbf MAINT: update pre-commit hooks 07 November 2019, 12:30:39 UTC
c4145a0 MAINT, TST: officially support Python 3.8 - on Travis CI switch to Python 3.8 stable, add nightly 07 November 2019, 12:30:35 UTC
dbf46ea Add outlier detection example 06 November 2019, 13:12:58 UTC
b9676dd TST: rework tests for Parameter class and improve coverage 05 November 2019, 21:54:10 UTC
dd1f554 DEP: conversion from uncertainties.core.Variable to value in _getval 05 November 2019, 21:54:10 UTC
41748c8 DEP: add FutureWarning for isParameter ahead of deprecation 05 November 2019, 21:54:10 UTC
a65c06e MAINT: update magic methods for Python 3 There are a few differences between PY2 and PY3: - __nonzero__ has been renamed to __bool__ - __div__ related magic methods are obsolete as division defaults to truedivision in Python 3 Already change the names of the functions defining the magic methods, and add a note to remove the obsolete ones when we change to PY3 only. 05 November 2019, 21:54:10 UTC
85e535a MAINT: always show label 'value' in Parameter.__repr__ 05 November 2019, 21:54:10 UTC
024f936 MAINT: make 'name' required positional argument of Parameter class Loading of Parameters or ModelResult from a JSON string requires the initialization of a Parameter class. In that case just, initialize with: _par = Parameter(name='') and switch to used named Parameters in example_Model_interface.py 05 November 2019, 21:54:06 UTC
a19f526 MAINT, TST: require asteval >=0.9.16 - this version works with all supported Python versions 05 November 2019, 20:39:39 UTC
6b1f2d7 FIX: nvars count and bound handling in confidence interval (#598) 05 November 2019, 20:35:43 UTC
9e66389 DOC: workaround for missing stderr in CI calculations (#596) 05 November 2019, 20:19:27 UTC
449c6ed ENH: add more information about emcee fit (#593) Adds the following two attributes to the MinimizerResult when using the emcee method: - acor: an array containing the autocorrelation time for each parameter (where possible) - acceptance_fraction: an array of the fraction of steps accepted for each walker 16 October 2019, 00:43:24 UTC
7dedbc8 Merge pull request #589 from ezwelty/support-all-jacobian-types Add support for non-array Jacobian types in least_squares 09 October 2019, 15:44:24 UTC
149d4d4 Add support for non-array Jacobian types in least_squares Add docstring to new test Replace assert_array_almost_equal with assert_allclose Clarify comment about scipy version in Jacobian transpose calculation Fix flake8 errors Use imported assert_allclose 08 October 2019, 04:00:15 UTC
ffe550c Merge pull request #592 from reneeotten/fixes_Travis_PY38 fixes for Travis CI and PY38 02 October 2019, 20:18:59 UTC
55c888f TST: fix DeprecationWarning from unittest The function assertRaisesRegexp was renamed in Python 3.2 (DeprecationWarning: Please use assertRaisesRegex instead.) 01 October 2019, 18:25:11 UTC
472d628 TST: check for RuntimeWarning in test_ampgo.py 01 October 2019, 18:25:11 UTC
8cf1ed5 MAINT: add missing codecov dependency 01 October 2019, 18:25:11 UTC
40ba3bc MAINT: require emcee<3.0.0 for now - the PTSampler has been removed from the v3.0.0 release and forked to the ptemcee project. See: https://emcee.readthedocs.io/en/v3.0.0/user/upgrade/ Not sure yet whether we need to use this fork or if we can rewrite to use only the emcee package. 01 October 2019, 18:25:11 UTC
f2de5f0 MAINT: test asteval fixes for Python 3.8 see: https://github.com/newville/asteval/issues/62 01 October 2019, 18:25:11 UTC
5fbb89f MAINT: upgrade pyupgrade pre-commit hook 01 October 2019, 18:25:11 UTC
9dcfb71 Merge pull request #591 from reneeotten/bump_dependencies Bump dependency versions and update Travis CI 28 September 2019, 18:03:00 UTC
d7bc8b4 TST: update .travis.yml Use the Travis CI Python versions in combination with pip for testing; this has a few advantages: - it is slightly faster than using conda - with pip we can more easily install the *exact* minimum required versions of dependences - allows for testing of Python development versions (i.e., 3.8) Only potential drawback is that we do not necessarily the latest (micro) version of Python, but for our testing that shouldn't matter. 27 September 2019, 15:44:38 UTC
9a8906e DEP: drop support for Python 3.4 Support for Python 3.4 was dropped already in version 0.9.13; now also remove it from the classifiers and python_requires in setup.py 27 September 2019, 15:44:38 UTC
a5f4fa8 DOC: updates for newer SciPy requirement 27 September 2019, 15:44:38 UTC
c3aa693 TST: updates for newer SciPy requirement 27 September 2019, 15:44:38 UTC
49b32eb MAINT: clean-up code for newer SciPy requirement 27 September 2019, 15:44:38 UTC
9f3f2d1 MAINT: bump minimum versions for dependencies Require the LTS version of both SciPy and NumPy that works for Python 2.7 and above. Also bump the six requirement to 1.11 (released on Sep 17, 2017) and uncertainties to 3.0.1 (released on Aug 15, 2016), and add missing coverage development dependency. 27 September 2019, 15:44:38 UTC
489f0e8 Merge pull request #587 from lmfit/getval2setval Getval2setval 26 September 2019, 22:01:14 UTC
6a2cbd8 add comment for checking for overflow 09 September 2019, 01:26:41 UTC
f21a204 avoid overflowing exp() 06 September 2019, 20:02:05 UTC
438176a apply bounds on set-param-value, not get-param-value 06 September 2019, 20:01:39 UTC
d7b408b Merge pull request #586 from reneeotten/nan_policy_message Nan policy message 29 August 2019, 17:07:38 UTC
d76a546 REL: update release notes for 0.9.14 29 August 2019, 11:51:35 UTC
46cee03 TST: add test for new warning messages for NaN values 29 August 2019, 11:40:23 UTC
cc12c8e ENH: add check for NaN values in Model._residual() - only raise the ValueError with message if nan_policy is set to 'raise' 29 August 2019, 10:48:35 UTC
a7e20eb MAINT: update pyupgrade pre-commit hook 28 August 2019, 12:43:26 UTC
12d8f91 ENH: improve message if ValueError is raised by _nan_policy The original message ("ValueError: The input contains nan values") seems often -incorrectly- imply to users that their input data contains NaN values. The "input" here is referring to the input data of the _nan_policy function. Clarify that it can either be caused by the input data or, more likely, by the output of the objective/model function. Additionally, include a link to the FAQ on the documentation website. 28 August 2019, 12:34:02 UTC
6478b7d Merge pull request #585 from lmfit/doctests914 docstring fixes and the addition of tests for v0.9.14. Fixes #584 26 August 2019, 14:47:12 UTC
edad977 style tweaks to tests 26 August 2019, 02:12:40 UTC
b33de90 tests: add test for parameter printing 26 August 2019, 02:12:40 UTC
fb9a3f7 tests: add some tests for model.plot* 26 August 2019, 02:12:40 UTC
21be941 tests: add tests for guess() methods 26 August 2019, 02:12:40 UTC
fb5daed fix split_lorentzian docstring, and doc, simplify code, fixing github #584 26 August 2019, 02:12:04 UTC
7b664fc Merge pull request #583 from lmfit/gallery_tweaks Tweaks to generating the examples gallery 25 August 2019, 00:51:29 UTC
76f9575 doc: Examples replacing Gallery 23 August 2019, 20:04:32 UTC
a6408d3 ignore temp data files needed to generate gallery 23 August 2019, 17:36:26 UTC
1ff5a45 update MANIFEST to include examples, but not generated gallery files 23 August 2019, 17:35:48 UTC
f838dfd doc: add as Makefile directive so that gallery is not generated every time docs are generated, only after rm -rf _build/* rm -f extensions.py rm -f *.dat *.sav *.csv rm -rf examples/* rm -rf ../examples/documentation 23 August 2019, 01:15:29 UTC
0aefd3b doc: several tweaks to gallery gen script, including warning suppression 23 August 2019, 01:14:39 UTC
47616b1 doc: add Gallery and Support link to upper left of HTML doc 23 August 2019, 01:12:35 UTC
0c1e693 doc: add examples/ gallery to TOC 23 August 2019, 01:10:42 UTC
10afd00 Merge pull request #582 from lmfit/asteval_maxtime remove deprecated max_time from asteval.Interpreter() creation 23 August 2019, 01:02:44 UTC
7ba1cc8 remove deprecated max_time from asteval.Interpreter() creation 22 August 2019, 16:09:36 UTC
60cf4ec Merge pull request #581 from reneeotten/release-0.9.14 almost ready to release 0.9.14? 22 August 2019, 16:07:06 UTC
b5f5518 REL: update release notes for 0.9.14 - link to the release notes in the installation instructions 22 August 2019, 13:54:27 UTC
37761fc DOC: add contributors to THANKS.txt 22 August 2019, 13:38:40 UTC
075e479 Merge pull request #574 from reneeotten/examples Gallery with examples 21 August 2019, 20:27:11 UTC
c3f3b64 Examples: review and update examples for gallery - all files that start with 'example_' will be executed, others will only be parsed - files should be "normal" Python code with embedded rST text in their source code (see https://sphinx-gallery.github.io/) TODO: - example_fit_multi_datasets.py: should use the Model interface - lmfit_emcee_model_selection.py: good example, but it does not seem to run correctly anymore - example_Model_interface.py: the section about "A Helpful Exception" does not seem accurate 21 August 2019, 18:46:11 UTC
28a43bc DOC: add comment about the failure of doc_model_loadresult.py For some reason the conversion by sphinx-gallery for doc_model_loadresult.py fails, even though execute the code in a Python shell or Jupyter notebook works fine. Error raised = NameError: name 'np' is not defined Add a note to the resulting example in the gallery and add this file to 'expected_failing_examples' to make sure the build finishes. 21 August 2019, 12:18:48 UTC
01d444d DOC: small updates to doc_*.py examples - remove plotting from doc_model_savemodelresult.py - remove leftover shebang line in doc_model_loadmodelresult2.py - generate new figure in doc_builtinmodels_peakmodels.py 21 August 2019, 12:18:48 UTC
666a396 DOC: add examples from documentation to gallery For the gallery one needs a correct header/docstring for the conversion to work. We don't want this for our examples that are part of the documentation where we often just show the file content. So we copy the doc_*.py examples to a separate "documentation" folder and add a header. In this way they will also show up in a "sub-gallery". 21 August 2019, 12:18:48 UTC
c8ad365 ENH: use sphinx-gallery to generate a gallery with examples - all files in the "examples" directory, with the exception of "doc_*.py", will be added to the main example gallery. 21 August 2019, 12:18:48 UTC
d68dbe9 Merge pull request #579 from reneeotten/fix_nfev_brute Fix nfev for brute with multiprocessing 15 August 2019, 16:42:25 UTC
eafeaee MAINT: update pre-commit hooks 15 August 2019, 03:13:21 UTC
34334d1 FIX: only check if a parameter is at its initial value if an initial value is present Probably this is a rare occurence as most users will actually set an initial value when initializing the parameters. However, for algorithms like "brute" that is actually not required and this might happen. Added a regression test and updated the code to include the check whether an init_value is present. See: #578 15 August 2019, 03:09:10 UTC
7e38291 FIX: correct value for nfev when using brute algorithm When using multiprocessing (i.e., workers != 1) the number of function evaluations in the MinimizerResult is incorrect. For the brute method we actually know beforehand how many evaluation will be performed as we have a pre-determined search-grid. So setting result.nfev = len(result.brute_Jout.ravel()) will always work correctly. Updated the test-suite accordingly. Fixes: #578 14 August 2019, 18:43:59 UTC
41667df Merge pull request #576 from lmfit/inspect_signature use `inspect.signature` for better support of Py3 and wrapped functions 02 August 2019, 18:55:21 UTC
b06bb1c fix import order, simplify version test 01 August 2019, 16:29:02 UTC
bb8674a skip wrapped_model_func test with Py2 31 July 2019, 03:30:04 UTC
a3c0939 add test of using a wrapped function as a model function 31 July 2019, 03:11:09 UTC
ad71135 use inspect.signature to inspect model function (towards Py3 only) 31 July 2019, 01:07:53 UTC
0c8607f Merge pull request #575 from reneeotten/fix_pdf_documentation Fix documentation in PDF format 26 July 2019, 12:23:05 UTC
997ed10 DOC: list extra dependencies for building the documentation 25 July 2019, 03:08:24 UTC
9d9cb9f FIX: building of documentation in PDF format Problem: SVG figures cannot be incorporated in LaTeX files Solution: add 'sphinx.ext.imgconverter' to the extensions - additionally, minor Makefile fixes 25 July 2019, 03:08:24 UTC
4d483ca Merge pull request #573 from reneeotten/documentation Documentation updates 24 July 2019, 15:07:26 UTC
back to top