regions
regions copied to clipboard
Astropy package for region handling
**This pull request is not associated to an issue. The pull request is not ready to be merged yet. Neither tests, nor documentations pages have been created for this pull...
A region format that exists and that we could implement is the IVOA (I think?) supported STC-S, as described here: http://adsabs.harvard.edu/abs/2010ASPC..434..213B There was some discussion about putting the STC format...
Hi all! Thanks for the work on this neat module! I've run into a couple of situations where I want to do operations with many regions e.g. if `SkyCoord` falls...
This is part 1 of a follow-up to #317 to support `as_mpl_selector` for rotated regions and rotating them, if the matplotlib version allows this (currently this needs the changes from...
Addresses https://github.com/astropy/regions/issues/506
A function similar to [SkyCoord.directional_offset_by](https://docs.astropy.org/en/stable/api/astropy.coordinates.SkyCoord.html#astropy.coordinates.SkyCoord.directional_offset_by) could be added to PixCoord. This will help support the DS9 vector region, which takes x, y, separation, and angle as parameters.
Currently annulus regions (e.g. `CircleAnnulusPixelRegion`) are implemented as Compound regions and Compound region masks are restricted to use only `mode='center'` (see https://github.com/astropy/regions/blob/main/regions/core/compound.py#L68). This makes sense for generic user-defined generic regions,...
As next part of the work on interactive regions #391 this PR adds an `as_mpl_selector` widget to the `PolygonPixelRegion` class to allow moving and resizing through the `draw_box` functionality added...
It should be possible, though not entirely trivial, to turn any celestial FITS header into a `RectangleSkyRegion`. That would be very useful for showing instrument/image footprints on the sky. (see...
As suggested by @prajwel in https://github.com/astropy/pyregion/pull/161#issuecomment-1326154571 I knew this was just a matter of time. Pyregion is part of many packages due to its age. Perhaps we can create easy...