Load a list of DS9 regions from a file, then mask or unmask the pixels within.
I think the newer astropy region support makes this very simple to implement.
It would make for a nice remote editing workflow especially, since CARTA now makes it straightforward to set up a bunch of regions and download them with one click.
Load a list of DS9 regions from a file, then mask or unmask the pixels within.
I think the newer astropy region support makes this very simple to implement.
It would make for a nice remote editing workflow especially, since CARTA now makes it straightforward to set up a bunch of regions and download them with one click.