-
Notifications
You must be signed in to change notification settings - Fork 79
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Add elliptical ROI button to imviz #706
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.
The button creates a circular region; I couldn't figure out how to make it elliptical.
Codecov Report
@@ Coverage Diff @@
## main #706 +/- ##
==========================================
+ Coverage 61.05% 61.70% +0.64%
==========================================
Files 65 65
Lines 4157 4222 +65
==========================================
+ Hits 2538 2605 +67
+ Misses 1619 1617 -2
Continue to review full report at Codecov.
|
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.
Works as expected.
As discovered by @rosteen , "get region" for this new shape does not work without glue-viz/glue-astronomy#32 . If this is merged before |
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.
I see the same "lag in moving it" and "get region breakage" that @rosteen reported.
I will withhold approval until we know whether to wait for new glue-astronomy
release or not.
Nice work otherwise!
Not sure if this possibility was mentioned offline, but now that the required |
There was a precedent... I think that is acceptable. |
Confirmed that "get region" is fixed with >>> regions = imviz.app.get_subsets_from_viewer('viewer-1')
>>> regions
{'Subset 1': <EllipsePixelRegion(PixCoord(x=1539.462646484375, y=1322.1376953125), width=626.53564453125, height=88.5322265625, angle=0.0 deg)>} The lag still there. |
@javerbukh If you update the |
@rosteen Done, thank you! |
Requires glue-viz/glue-jupyter#241Elliptical ROI functionality added in glue-jupyter v0.7
Resolves #635
Screenshot is slightly outdated, a better icon for elliptical ROI is being used.