-
Notifications
You must be signed in to change notification settings - Fork 59
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
Inference: everything except MC error estimates #40
Conversation
Untested. A few other cleanups were made along the way.
Added comment
Added support for building model matrix B with inference.
This changeset includes quite a range of modifications; ideally it might have been broken up into smaller pieces. The data from ut_constants is now run through a new function, convert_unicode_arrays, so that things like the list of constituent names are object arrays of strings with trailing whitespace removed. The new test, test_HNL.py, is presently only a smoke test, but it will be expanded to compare results against the matlab-generated output that is now in tests/data.
Add smoke test for initial work on inference, and make it run.
The inference comparison is commented out because the inference implementation is not yet filling in these fields.
test_HNL compares name, A, and g against matlab UTide output
…nce.py. Added complex coefficient calc to _solve.py
Fixed the calculation of inferred coefficients
Updating local copy with changes
Inference amplitude and phase are complete. Partial error implementation.
@ocefpaf Is there anything that can be done about the flood of warnings in the Travis runs? |
There is. We can split code from pep8 test, and mark pep8 as allow_failures
in Travis-CI to reduce the noise.
I will fix that soon.
|
It looks like most of the warnings are coming from an unnecessary attempt to import mpl_toolkits (though I don't know why is generating warnings), and some other such things unrelated to the code actually being tested. Maybe it is something about the miniconda environment being used. |
See #42. We don't need to export the |
This is the work done over the summer in collaboration with two UH grad students, Erin Edkins and Alex Ludert. I believe it provides all support for inferred constituents except for the error estimates using the MC method. It also includes a new set of tests using a real sea-level time series.