-
Notifications
You must be signed in to change notification settings - Fork 27
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
add numba-fied version of skyum code #56
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Not sure why tests are not firing on the pr?
pointpats/centrography.py
Outdated
return radius, center_x, center_y | ||
|
||
|
||
if __name__ == "__main__": |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this might need to get deleted
Yes, not sure why the tests are not running... I also (now testing on OSX) get failures in the numba code. I need to double check. @sjsrey have you ran this locally? |
I believe this is now resolved and is ready to merge. Very basic errors in the remaining functions. Also, I note we do not have CI on the minimum bounding circle or rectangles? |
I'm exploring this locally and will add test if we don't have them |
I think the tests were not triggered due to conflicts in the source. Just resolved those so let's see. |
The conflict was holding up the tests. Updated a PR into your branch if you need it. |
This adds a numba implementation of the minimum bounding circle code. This won't have too much of a speedup on most cases, unless the input points are very convex & the convex hull is large.