-
Notifications
You must be signed in to change notification settings - Fork 74
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
JDAT-1220: Regions Support #518
Comments
This comment has been minimized.
This comment has been minimized.
After some discussion, I'm now thinking that " Integrate subsets pulldown with region selection" is better done as a separate issue, since it's a much bigger project than the other parts of this. |
Oh and to clarify a bit more on the "Create new" item: the current behavior is that if you make a new selection it creates a region the first time, but after that it "moves" the region. That bullet point (I think originating from @orifox ?) was to instead make it create a new region every time. @pllim and I discussed out-of-band that we think the current behavior is still what we want as default. But there is value in an optional mode where instead of glue changing the current subset/region to the one newly created, it stays in "create new" mode. We can discuss later if we really want that to be default for imviz. |
The place where the behavior is controlled is in the In the above, as long as Create New is selected, it stays on that. If the user selects to edit a certain subset, it will stick to the editing mode. |
After some out-of-band discussion, I think we've settled on the idea that the initial implementation should be:
|
Oh and re: #518 (comment) - I think that's the right behavior for the "create new" item, but not on "drag" of an existing region - rather it should be when the user lets up on the mouse button and draws a new region. If the "drag" process currently has to do that when it's in the create new mode, I can live with that as a temporary measure, but we should make an issue to fix that at some point since I think to a user it's pretty unintuitive for clicking and dragging to create a bunch of new regions. |
At the standup today, @duytnguyendtn and I have agreed to break this into smaller tickets. I will update the issue above and "archive" this when this is done. FYI. |
Ability to draw fractional pixel regions of various shapes that can be exported as Astropy
regions
.From UI/UX doc: "Circles are not separate than ellipse, (and rectangles not separate from squares) to get a perfect circle or square press shift to constrain the proportions"Deferred to JDAT-1473: Imviz region support: Shift to toggle circle/ellipse and square/rectangle #624Currently not possible, see Elliptical shape seems allowed in bqplot backend but not really glue-viz/glue-jupyter#223Deferred to JDAT-1485: Imviz region support: Add ellipse #635Slit-shaped regions (esp. NIRSpec MSA) -- What does this really mean? Like a rotated rectangle? PO says yes.Deferred to JDAT-1484: Imviz region support: Plugin to rotate and center shapes #634UI/UX: https://www.stsci.edu/~jkotler/Imviz/#id=xvaaay&p=region_subset_workflow&g=1
jdaviz
viewers)Integrate subsets pulldown with region selection (see mockup).Shouldn't have to "Create new" to make a new region. Clicking and dragging with region tool selected creates new region and adds it to the list of subsets.Integrate subsets pulldown with region selection (need Mario's help)MOVED to JDAT-1449: Integrate subsets pulldown with region selection #608Shouldn't have to "Create new" to make a new regionDeferred to JDAT-1483: Imviz region support: Should not have to click "Create new" to create new regions #633specviz.app.get_viewer('spectrum-viewer').toolbar_active_subset.selected = []
OUT OF SCOPE: Getting slit info for an instrument from header, and so on. This issue only covers hand-drawn slits.
https://jira.stsci.edu/browse/JDAT-1220
The text was updated successfully, but these errors were encountered: