Added provisional docstring to infer_reversal_potential#78
Merged
MichaelClerx merged 4 commits intomainfrom Oct 17, 2025
Merged
Added provisional docstring to infer_reversal_potential#78MichaelClerx merged 4 commits intomainfrom
MichaelClerx merged 4 commits intomainfrom
Conversation
Member
Author
|
Should also be using |
Collaborator
|
These suggestions sound very sensible.
A bit tangentially, maybe "ramp_no" isn't the best parameter name for detect_ramp_bounds. Perhaps "ramp_index" is clearer |
Collaborator
|
Plotting options seem a bit confused in the original code. I think I got confused in trying to give a few options: allowing the user to provide an axis, allowing the user to save a plot to disc without providing an axis, and not plotting anything at all. It might be simpler to only deal with an "ax" parameter, and not deal with any figure creation. In any case, the plot parameter isn't really needed, and we should just get rid of it. |
… it use detect_ramp_bounds
Member
Author
|
@joeyshuttleworth OK to merge this? |
joeyshuttleworth
approved these changes
Oct 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Questions:
plotargument? Setting it toTruegives an error if no ax or fig path is set.i, t, segment_info, v