Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump lmfit from 1.0.3 to 1.2.2 #56

Merged
merged 1 commit into from
Aug 9, 2023
Merged

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 8, 2023

Bumps lmfit from 1.0.3 to 1.2.2.

Release notes

Sourced from lmfit's releases.

1.2.2

Version 1.2.2 Release Notes (July 14, 2023)

New features:

  • add ModelResult.uvars output to a ModelResult after a successful fit that contains ufloats from the uncertainties package which can be used for downstream calculations that propagate the uncertainties (and correlations) of the variable Parameters. (PR #888)

  • 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. (PR #899)

  • Model.fit now takes a coerce_farray option, defaulting to True to control whether to input data and independent variables that are "array-like" are coerced to ndarrays of datatype Float64 or Complex128. If set to False then independent data that "array-like" (pandas.Series, int32 arrays, etc) will be sent to the model function unaltered. The user may then use other features of these objects, but may also need to explicitly coerce the datatype of the result the change described above about coercing the result causes problems. (Discussion #873; PR #899)

Bug fixes/enhancements:

  • fixed bug in Model.make_params() for non-composite models that use a prefix (Discussion #892; Issue #893; PR #895)

  • fixed bug with aborted fits for several methods having incorrect or invalid fit statistics. (Discussion #894; Issue #896; PR #897)

  • Model.eval_uncertainty now correctly calculates complex (real/imaginary pairs) uncertainties for Models that generate complex results. (Issue #900; PR #901)

  • Model.eval now returns and array-like value. This adds to the coercion features above and fixes a bug for composite models that return lists (Issue #875; PR #901)

  • the HTML representation for a ModelResult or MinimizerResult are improved, and create fewer entries in the Table of Contents for Jupyter lab. (Issue #884; PR #883; PR #902)

1.2.2rc1

Version 1.2.2 Release Notes (July 14, 2023)

... (truncated)

Changelog

Sourced from lmfit's changelog.

Version 1.2.2 Release Notes (July 14, 2023)

New features:

  • add ModelResult.uvars output to a ModelResult after a successful fit that contains ufloats from the uncertainties package which can be used for downstream calculations that propagate the uncertainties (and correlations) of the variable Parameters. (PR #888)

  • 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. (PR #899)

  • Model.fit now takes a coerce_farray option, defaulting to True to control whether to input data and independent variables that are "array-like" are coerced to ndarrays of datatype Float64 or Complex128. If set to False then independent data that "array-like" (pandas.Series, int32 arrays, etc) will be sent to the model function unaltered. The user may then use other features of these objects, but may also need to explicitly coerce the datatype of the result the change described above about coercing the result causes problems. (Discussion #873; PR #899)

Bug fixes/enhancements:

  • fixed bug in Model.make_params() for non-composite models that use a prefix (Discussion #892; Issue #893; PR #895)

  • fixed bug with aborted fits for several methods having incorrect or invalid fit statistics. (Discussion #894; Issue #896; PR #897)

  • Model.eval_uncertainty now correctly calculates complex (real/imaginary pairs) uncertainties for Models that generate complex results. (Issue #900; PR #901)

  • Model.eval now returns and array-like value. This adds to the coercion features above and fixes a bug for composite models that return lists (Issue #875; PR #901)

  • the HTML representation for a ModelResult or MinimizerResult are improved, and create fewer entries in the Table of Contents for Jupyter lab. (Issue #884; PR #883; PR #902)

.. _whatsnew_121_label:

Version 1.2.1 Release Notes (May 02, 2023)

... (truncated)

Commits
  • 8b2038a final updates for v 1.2.2
  • 555c29e spellchecked whatsnew
  • 3326676 update whatsnew for v 1.2.2
  • 4d5df88 Html repr with JupyterLab TOC (#902)
  • 4968ef2 Merge pull request #901 from lmfit/complex_eval_uncertain
  • e34b167 add test for GH#875 (CompositeModel_returning_lists) and GH#900 (Complex.eval...
  • 5f7af07 fix ModelResult.eval_uncertainty() for complex model
  • d0a5936 force Model.eval to return array-like
  • 875c2f7 Merge pull request #888 from lmfit/calc_upars
  • 54b9af1 add doc for ModeResult.uvars and link to example
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [lmfit](https://github.com/lmfit/lmfit-py) from 1.0.3 to 1.2.2.
- [Release notes](https://github.com/lmfit/lmfit-py/releases)
- [Changelog](https://github.com/lmfit/lmfit-py/blob/master/doc/whatsnew.rst)
- [Commits](lmfit/lmfit-py@1.0.3...1.2.2)

---
updated-dependencies:
- dependency-name: lmfit
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Aug 8, 2023
@codecov
Copy link

codecov bot commented Aug 8, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (dc136a1) 94.57% compared to head (ae77559) 94.57%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #56   +/-   ##
=======================================
  Coverage   94.57%   94.57%           
=======================================
  Files          11       11           
  Lines         996      996           
=======================================
  Hits          942      942           
  Misses         54       54           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jmbhughes jmbhughes self-requested a review August 9, 2023 03:20
@jmbhughes jmbhughes merged commit e1886aa into main Aug 9, 2023
@dependabot dependabot bot deleted the dependabot/pip/lmfit-1.2.2 branch August 9, 2023 03:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant