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

ESDA Tabular Functions #827

Merged
merged 27 commits into from Jul 14, 2016
Merged

ESDA Tabular Functions #827

merged 27 commits into from Jul 14, 2016

Conversation

ljwolf
Copy link
Member

@ljwolf ljwolf commented Jun 30, 2016

Hello!

This is the work I've done to get tabular functions into esda. I'd hoped to at least submit this before going off into the rest of the project on the computational geometry stuff. Like before, here's the overview notebook.

A few things:

  1. separating the by_col methods out from the classes proved to be too difficult. In some cases, there would have been special by_col functions with dispatch on the input type, like for Age_Adjusted_Smoother. So, I just added them as class methods & added unittesting by class.
  2. This also addresses the bugs I encountered in smoothing, Direct Age Standardization fails for empty regions #824 Headbanging Median Rate ignores edge correction #825 Spatial Filtering grid definition #826.

ljwolf added 23 commits June 21, 2016 00:19
"exta" should have been "extra." once changed, the screen function needed
slight modification to work with the rest of the pattern.
The grid was constructed using np.meshgrid over the range of the bounding box,
with a computed stride. If the range and number of divisions were both integer,
as was the case in the unittest, this generated floor division incorrectly. When
we did initial testing in python3, we thought the unittest was correct. In fact,
the unittest was incorrect, and we needed to enforce float division always.
Note that these comparators are NOT OGC-SPEC.
@ljwolf
Copy link
Member Author

ljwolf commented Jun 30, 2016

sorry, looks like there's some cruft from my pivot to the computational geometry stuff that snuck in, like ogc_synthesis and some undesirable changes to travis.yml.

will need to remove it before merging.

@ljwolf
Copy link
Member Author

ljwolf commented Jul 1, 2016

OK, I think this is ready for review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants