spacetelescope / cubeviz

Data analysis package for cubes. https://cubeviz.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
15 stars 25 forks source link

Single-image viewer square-pixel option (and/or default) #541

Closed hcferguson closed 3 years ago

hcferguson commented 5 years ago

Non-urgent thoughts on the alternative view:

Currently the single-image viewer does not default to the image having square pixels. Unfortunately, if it did, the 1D spectrum would be all squished up at the right. So that may not be a good default. But there needs to be a way to get square pixels somehow, without just relying on your eyeball.

I don't think the single-image view that tiles the image side-by-side with the 1D spectrum is going to be all that useful, given the difficulties of squeezing things into screen real-estate.

A tabbed view might be more useful, with a hotkey to toggle back and forth between the 2D view and the 1D view tabs.

Allowing overlapping windows is another way to handle this, which might even be preferable to the tabbed view. The problem there is how to help the user when one window completely covers another. In the tab paradigm, they can see the tab. In the "overlapping window" paradigm, they have to remember the hot key, or have something like the Mac Expose feature, or some other clue that a window is completely hidden.

kassin commented 5 years ago

Let's talk. I prefer overlapping windows, or what we've been calling "freeing the windows."

brechmos-stsci commented 5 years ago

There is a ticket https://github.com/spacetelescope/cubeviz/issues/304 for freeing the windows. If implemented we could remove a lot of things and I think the gui would have a cleaner look.

hcferguson commented 5 years ago

I see that there is the option to set the pixels square down on the lower left menu, which does work.