forked from BreakingBytes/UncertaintyWrapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix travis and inplace ops on borrowed ref issues
travis ------ * add pvlib to spa-c-file path in get-spa.py * add prop_unc() target function for multiprocessing pool * add warnings about in-place operations on numpy arrays that are borrowed references * add to and improve docstrings, remove old TODOs * add jtosparse that creates a csr_matrix using 3-d jac * add __method__ kwarg to wrapped function that specs whether to loop over observations, use a multiprocessing pool, a sparse matrix or flatten the jac and cov into dense matrices, loop is the default * check if None in cov_keys, b/c cov_keys is always a sequence, so it can never be None * don't flatten jacobian or covariance, easier to loop over them as 3-d * now we need jflatten in the tests * clean up tests, remove constant args from test_IV * adjust tests to select method * add docstrings Signed-off-by: Mark Mikofski <[email protected]>
- Loading branch information
Showing
5 changed files
with
191 additions
and
54 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.