-
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
Enhancement wishlist #47
Comments
Hi @ljwolf
|
Hey thanks!
would be a good first steps for this! |
Hi @ljwolf
I will raise the PR for the same after proper testing. |
#47 : Added enhancements to mbr in pointpats
This is a running list of enhancements burbling up of when writing the
gdsbook/book
chapter on point pattern analysis.additional hulling measures
hull()
should be general, with atype
argument that supports alpha shapes, minimum bounding rectangles, minimum area rectangles, and minimum bounding circles. This would require putting a dedicatedconvex_hull
function elsewhere. Since we could sethull
's default to be the convex hull, this can actually be made API-transparent 😄mbr
should be expanded tominimum_bounding_rectangle
minimum_area_rectangle
and borrow/import the opencv implementation of the minimum area rectangle.skyum
tominimum_bounding_circle
, or use it as a fallback if we cannot useopencv
's minimum bounding circleskyum
needs to be brought in line with other functions/classes (my bad 😥)API consistency
centrography
is available directly inpointpats
... is this intentional?skyum
should return in the same manner asellipse
. I think they both should give some kind ofnamedtuple
return value that has(center, radius)
or(center, semimajor, semiminor, rotation)
.Performance
mbr
does a loop in python through all points and explicitly finds the minimum. We should probably use a sort for a faster solution?skyum
can be easily numba-ized, but I'm not sure if it'd matter much.New statistics
The text was updated successfully, but these errors were encountered: