Open
Description
Desired outcome: Have something like compound regions in astropy regions package but for SpectralRegion
in specutils.
Motivation: Currently jdaviz has to maintain complicated and recursive logic to turn composite subsets in glue into SpectralRegion. In addition to maintenance burden, such functionality would be indefinitely more useful even to non-Jdaviz users if implemented natively in specutils.
When this exists here, Jdaviz can then retire the complicated code and add proper translators to glue-astronomy because then glue
operators will combine them natively via operator overloading.