-
Notifications
You must be signed in to change notification settings - Fork 10
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
Lastest ginga mucks up postage stamps #32
Comments
Eric refactored a bunch of stuff. You might want to see his commit changes for clues. |
Actually its not what I was afraid of; actual functionality change. Seems more that some layout default, such as stretch, for ImageViewCanvas, has changed. Not critical. |
@stscieisenhamer, I'm trying Edit: I'm beginning to grok this. Switch to another image in the channel to add a new stamp. I take it that it is not possible to add multiple stamps per same image? |
If you drag another image into the channel, it should add automatically. Or if other images are in the channel already, just rotate to them using the arrow keys. And no, there is only one cutout. |
Cool. Is there a limit on the number of stamps? |
And |
Anyway, stamps seem to work for me. What kind of problem are you seeing? |
No: no limit, except for hardware Yes: MIPick is just another way to choose the region, combining the stats of Pick while fixing on a sky region instead of a pixel region. Sometimes this gets confused when an image has no overlapping sky. Haven't dealt with that yet. And the problem of this issue is just a visual. At some commit which I forget, previously the stamps would center and fill the HBox. Then as more were added, the HBox would evenly divide, each filling an equal area. Now, the first one only takes the left 1/4 of the space. As more add, the remaining quarters are filled. Then, as more are added, the evenly divided behavior takes over. I started investigating: has something to do with an object changing from HBox to a native Qt.Widget, but I didn't get too far. |
I see what you are saying. You can probably fix that with the right "expand" options set on the horizontal container widget in your Couple of notes, FWIW:
Looks like a very useful plugin! |
Excellent suggestions! And, I see a path to success.... The desire was to have all stamps shown so that as you view the main image, you can see what that same region is in the other images. How this was to work with the multi images per channel and multiple channels was unclear. However, @ejeschke suggestion #3 gave the needed hint. A possible workflow is then:
|
As @ejeschke stated to me before, the same image can be loaded into different channels. How do you plan to handle duplicates? |
@pllim, would that be a problem? If the stamps are added manually, and are maintained on a per-image basis, then if the user decides to open two different stamps for the same image then that's a kind of user error, IMO, no matter how you navigated to the images (in one channel or two, etc.). |
I could see a potential benefit of having the same image in two different stamps with a different colormap. I actually used this kind of thing in ds9 blinking between images doing supernova searches. When looking at potential candidates, it was useful to have both a heavy stretch and a log stretch handy. |
Okay. Just want to make sure we covered this feature. |
OK. Sounds like a plan. I'll be making separate issues to do the implementation, since this discussion went off-the-rails-with-respect-to-the-issue. With-respect-to-the-issue, I'm closing. Not really a functional nor usability issue. Will revisit after functionality changes. |
TL;DR: postage stamps fixed in latest ginga, please see longer explanation: The latest ginga in master completes a unification of the widget-specific code (such as |
@ejeschke , I made your edited version into a PR (see #50). @stscieisenhamer , what do you think? |
Everything is doubled.
The text was updated successfully, but these errors were encountered: