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 functionality to constrain parameters to a range #56

Merged
merged 16 commits into from
Mar 24, 2024

Conversation

jbloom
Copy link
Member

@jbloom jbloom commented Mar 24, 2024

  • The curve fitting parameters (top, bottom, slope) can now be constrained to a range in addition to being completely free or fixed. This can help with fitting some curves more sensibly (see this issue). Specifically:

    • fixtop and fixbottom parameters to HillCurve can be 2-tuples of bounds
    • added fixslope parameter to HillCurve and CurveFits
    • New constrain_params_range notebook tests and documents this functionality.
  • Add no_curve_fit_first argument to HillCurve to aid debugging/development.

@jbloom jbloom linked an issue Mar 24, 2024 that may be closed by this pull request
@jbloom jbloom merged commit 60b54ad into master Mar 24, 2024
1 check passed
@jbloom jbloom deleted the 53-constrain-params branch March 24, 2024 16:41
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.

Add mechanism to constrain fitting parameters
1 participant