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

modify and document user interface; use Bunch #24

Merged
merged 4 commits into from Apr 30, 2015

Conversation

efiring
Copy link
Collaborator

@efiring efiring commented Apr 26, 2015

The original Matlab function arguments are not a good match for
Python's more flexible argument handling capabilities, so I have
sketched out a more pythonic interface for solve and reconstruct,
including the docstrings. Given that some option names needed
to change, I have made changes freely, opting for longer but
more readable names.

I have also started using the Bunch more widely; a subsequent
step will be to switch much of the internal access from dictionary
style to attribute style--which will look more like the original
Matlab.

The original Matlab function arguments are not a good match for
Python's more flexible argument handling capabilities, so I have
sketched out a more pythonic interface for solve and reconstruct,
including the docstrings.  Given that some option names needed
to change, I have made changes freely, opting for longer but
more readable names.

I have also started using the Bunch more widely; a subsequent
step will be to switch much of the internal access from dictionary
style to attribute style--which will look more like the original
Matlab.
@efiring
Copy link
Collaborator Author

efiring commented Apr 26, 2015

See http://currents.soest.hawaii.edu/UTide/html/index.html for the rendered Sphinx docs that go with this PR. This documentation is an important part of the user interface.

@efiring
Copy link
Collaborator Author

efiring commented Apr 27, 2015

@wesleybowman, I think there is a new problem with the confidence interval calculation, and I don't know yet where I introduced it. Let's not merge this yet; I want to see if I can track it down and fix it first. Take a look at the basic design of the PR, including the docs, though, and let me know if you have any objections.

@efiring
Copy link
Collaborator Author

efiring commented Apr 27, 2015

The bug was my fault: I introduced it in 0e948e3. It's fixed now. This PR can be merged if you are comfortable with the direction it is moving. If not, please let me know ASAP.

@wesleybowman
Copy link
Owner

Very nice work. Great cleanup!

wesleybowman added a commit that referenced this pull request Apr 30, 2015
modify and document user interface; use Bunch
@wesleybowman wesleybowman merged commit c1b895f into wesleybowman:master Apr 30, 2015
@efiring efiring deleted the solve_interface branch June 1, 2015 17:25
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.

None yet

2 participants