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

Refactor statistics calculations #51

Merged
merged 3 commits into from
Mar 9, 2017
Merged

Refactor statistics calculations #51

merged 3 commits into from
Mar 9, 2017

Conversation

bsmurphy
Copy link
Contributor

@bsmurphy bsmurphy commented Mar 8, 2017

This PR does an ND refactor of the statistics calculation routine. Here is a list of major changes:

  • The krige and krige3d methods in the core module have been merged in _krige.
  • The find_statistics and find_statistics_3d methods in core have been merged into _find_statistics.
  • _find_statistics has been updated to deal with the potential for subsequent kriging points being too close together... Previously, the mean error could at times end up being basically zero (< 1e-10), which lead to problems in the statistics calculation. The should robustify the statistics calculation routine.

This address steps 3 and 4 in #31.

bsmurphy added 3 commits March 7, 2017 20:27
This PR does an ND refactor of the statistics calculation routine. Here is a list of major changes:
* The ```krige``` and ```krige3d``` methods in ```core``` have been merged in ```_krige```.
* The ```find_statistics``` and ```find_statistics_3d``` methods in core have been merged into ```_find_statistics```.
@bsmurphy bsmurphy added this to the v2.0 milestone Mar 8, 2017
@bsmurphy bsmurphy requested a review from rth March 8, 2017 06:21
Copy link
Contributor

@rth rth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Everything looks good to me @bsmurphy

@bsmurphy
Copy link
Contributor Author

bsmurphy commented Mar 9, 2017

Cool, thanks. You're much better with the nuances and details of Python than I am, so I appreciate the reviews!

@bsmurphy bsmurphy merged commit 22c8a69 into master Mar 9, 2017
@bsmurphy bsmurphy deleted the refactor-statistics branch March 9, 2017 02:22
@rth rth mentioned this pull request Mar 9, 2017
9 tasks
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.

2 participants