glue-viz / glue-astronomy

Plugin to add astronomy-specific functionality to glue
https://glue-astronomy.readthedocs.io/en/latest/
BSD 3-Clause "New" or "Revised" License
11 stars 12 forks source link

Support reading from astropy regions objects #55

Open keflavich opened 2 years ago

keflavich commented 2 years ago

Related to, but not the same as, https://github.com/glue-viz/glue-astronomy/issues/30 and https://github.com/glue-viz/glue-astronomy/issues/49

The current translator only supports glue -> regions, afaict, but I want to load regions into glue.

(this is in-scope for the CASA/Astropy grant)

pllim commented 1 year ago

Oh, huh, I kinda worked around this whole limitation in https://github.com/spacetelescope/jdaviz/blob/26a5cff1051188d58f14d6b06f0b83eedcedffed/jdaviz/core/region_translators.py#L78 😅