Closed pllim closed 1 month ago
What does glue.core.coordinate_helpers.dependent_axes(data.coords, i)
return for i in range(ndim)
?
Does this help?
>>> for i in range(imdata.ndim):
... print(i, glue.core.coordinate_helpers.dependent_axes(data.coords, i))
0 (0, 1, 2, 3, 4)
1 (0, 1, 2, 3, 4)
I think glue doesn't yet work well with WCSes that have a different number of pixel and world dimensions - see https://github.com/glue-viz/glue/issues/2162
Feel free to close this as duplicate if it is. Thanks!
I am not allowed to share the image but I can show you the GWCS like this (spoiler: it is grism):
The code goes something like this:
xref spacetelescope/jdaviz#778