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

Add option to set lmfit boundaries as a delta #1706

Merged
merged 1 commit into from
Jun 11, 2024
Merged

Conversation

psavery
Copy link
Collaborator

@psavery psavery commented Jun 11, 2024

lmfit does not allow a delta to be used, but instead a min/max must be specified. We can, however, allow a delta to be used in the GUI, and then set the min/max on the lmfit parameters based upon this delta. That is what is being done in this PR.

Using delta for boundaries is more intuitive for some workflows.

lmfit does not allow a delta to be used, but instead a min/max must
be specified. We can, however, allow a delta to be used in the GUI,
and then set the min/max on the lmfit parameters based upon this delta.
That is what is being done in this PR.

Using delta for boundaries is more intuitive for some workflows.

Signed-off-by: Patrick Avery <[email protected]>
del self.tree_view
self.initialize_tree_view()

# Restore scroll bar position
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! :)

Copy link
Collaborator

@bnmajor bnmajor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@psavery psavery merged commit 57f8e31 into master Jun 11, 2024
9 checks passed
@psavery psavery deleted the lmfit-boundaries-delta branch June 11, 2024 17:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants