pyregion
pyregion copied to clipboard
ds9 region parser for python
pyregion-2.1 does not work with recent few versions of `numpy`; specifically it fails with an exception (always or sometimes?) from numpy-1.23 onwards (the current version is numpy-1.26 as of March...
People should be using https://github.com/astropy/regions but there are blockers: * https://github.com/astropy/regions/issues/167 We need a roadmap to do the following: * Port remaining features from pyregion to regions. * Release regions...
Please rename your default branch from `master` to `main` as part of astropy/astropy-project#151 , preferably by 2021-03-22. Also a friendly reminder to check documentation, workflows, etc., and update them accordingly....
I added `wcs` keywords to methods throughout to allow specification of a WCS directly, rather than generating the wcs from a passed `header`. This should make it straightforward for `pyregion`...
As someone who uses pyregion quite frequently, it would be very nice if one could also cite it properly in publications. The Astrophysics Source Code Library - short ASCL -...
I created this in the `aplpy` site (https://github.com/aplpy/aplpy/issues/381) but it seems it may be more relevant here. using `aplpy.FITSFigure.show_regions` I can load a region file with the following content just...
The current test coverage is around 50%, so we should work on improving that: https://coveralls.io/r/astropy/pyregion Of course, we shouldn't try and improve coverage of e.g. `kapteyn_celetial.py` since this is an...
It can not work with the fits file which has more than 2 axis, like in radio data. For example, a header as below : ``` SIMPLE = T /Standard...
The spatial filter seems to match positions which are not part of the specified region. In the following (very slow) test script, I test points over the whole sky using...
Should we move the example data files that are used in the docs (e.g. `docs/figures/pspc_skyview.fits` or `docs/figures/test.reg`) to `pyregion.datasets` to make the docs examples work for the user out of...