CARTAvis / carta

To CARTA users, this repo holds the CARTA release packages. Please use this repo to log bugs and feature requests. These will be triaged by the development team and prioritised as necessary in the development cycles.
19 stars 0 forks source link

Feature request - grouping regions #100

Open Jordatious opened 2 years ago

Jordatious commented 2 years ago

Split from #90.

ds9 enables selecting all regions to remove or change colour, etc. Perhaps CARTA could do similar, and even go beyond this, by putting regions within groups that can be labelled? A simple shift- / control-click to select multiple and group them could work. This would enable certain region features to be simplified by operating on the group as a whole.

A related / alternative idea is to limit some region functionality above some threshold of a large number of regions (10? - assuming that's the limiting factor). Perhaps some functionality can/should be disabled, while other functionality could be enabled for the groups.

As a user, I don't need all the specific region functionality when I have 100 of them loaded. And to remove all the regions loaded, one does not want to go through and manually remove every single one.

Jordatious commented 2 years ago

An example use case here is importing thousands of regions from a source finder that has been run on one of my radio images, showing the exact fitted components (i.e. not just the positions from a catalog overlay). Software like PyBDSF can overlay both the fitted Gaussians, and the sources grouped together from those Gaussians. I'd love to be able to import one set, group them, change their colour, import the other and group them, and then blink between them, hiding one group and then the other.