ginga
ginga copied to clipboard
Drawing plugin: Annulus/Circle cannot draw/edit properly when "wcs" is selected
I used Qt 4 on RHEL6.
Annulus
In Drawing
local plugin, select the following:
- Draw type: annulus
- Coord type: wcs
- Mode: draw
Now try to draw it over image display with left mouse button. Nothing happens. However, it appears as usual when "Coord type" is changed to "data".
Circle
In same plugin, select the following:
- Draw type: circle
- Coord type: wcs
- Mode: draw
Now draw a circle. Then switch mode to edit. Click on the drawn circle to try to edit it. You will see that edit is not possible. However, if another circle is drawn in the data mode, then edit works as usual.
Note: This issue should solve itself if Ginga switches to proposed new Astropy region objects that are WCS-aware, as discussed during Python in Astronomy 2016.