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

Plot srf map bug #253

Merged
merged 6 commits into from
Sep 21, 2021
Merged

Plot srf map bug #253

merged 6 commits into from
Sep 21, 2021

Conversation

sungeunbae
Copy link
Member

alphashape needs alpha parameter to be set (alpha=0 is a convex hull), but often we need a concave-hull. The question is how to determine the alpha parameter to give the best fit. Viktor originally found alpha=600 worked ok for SRF, but sometimes it doesn't return a legit Polygon object that will ensure the subsequent code works.

This fix will, hopefully, find a reasonably good alpha value without impacting the performance too much.

viktor76525
viktor76525 previously approved these changes Sep 20, 2021
Copy link
Contributor

@jasonmotha jasonmotha left a comment

Choose a reason for hiding this comment

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

Happy to have people disagree. But in general I don't like special cases of imports.

@sungeunbae sungeunbae merged commit 4699486 into master Sep 21, 2021
@sungeunbae sungeunbae deleted the plot_srf_map_bug branch September 21, 2021 21:19
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.

4 participants