Skip to content

Commit

Permalink
Added new function to casagui/utils/__init__.py, __convert_masks that…
Browse files Browse the repository at this point in the history
… is used to convert the input mask discitonary into an astropy region in either pixel or world cooridates. Currently supported mask shapes are 'rect' and 'polygon'. For mor info see: https://astropy-regions.readthedocs.io/en/stable/shapes.html. In the future, this function needs to support return of 'crtf' format for use with tclean. Currently this is nort supported due to a bug in the pixel version of astropy regions (astropy/regions#471). A bug ticket has been opened.
  • Loading branch information
jrhosk committed Jul 26, 2022
1 parent 8bfdcdc commit 3ee89d7
Showing 1 changed file with 226 additions and 64 deletions.
Loading

0 comments on commit 3ee89d7

Please sign in to comment.