-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
147 additions
and
570 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Compiled files | ||
*.py[cod] | ||
*.a | ||
*.o | ||
*.so | ||
__pycache__ | ||
|
||
# Ignore .c files by default to avoid including generated code. If you want to | ||
# add a non-generated .c extension, use `git add -f filename.c`. | ||
*.c | ||
|
||
# Other generated files | ||
*/version.py | ||
*/cython_version.py | ||
htmlcov | ||
.coverage | ||
MANIFEST | ||
.ipynb_checkpoints | ||
|
||
# Sphinx | ||
docs/api | ||
docs/_build | ||
|
||
# Eclipse editor project files | ||
.project | ||
.pydevproject | ||
.settings | ||
|
||
# Pycharm editor project files | ||
.idea | ||
|
||
# Floobits project files | ||
.floo | ||
.flooignore | ||
|
||
# Packages/installer info | ||
*.egg | ||
*.egg-info | ||
dist | ||
build | ||
eggs | ||
parts | ||
bin | ||
var | ||
sdist | ||
develop-eggs | ||
.installed.cfg | ||
distribute-*.tar.gz | ||
|
||
# Other | ||
.cache | ||
.tox | ||
.*.sw[op] | ||
*~ | ||
.project | ||
.pydevproject | ||
.pytest_cache | ||
.settings | ||
|
||
# Mac OSX | ||
.DS_Store | ||
.vscode |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# stregion | ||
|
||
**DO NOT USE THIS PACKAGE IN YOUR PROJECT** | ||
|
||
This is a frozen fork of `pyregion`. This repository's codebase is permanently | ||
stuck in 2013. This repository will never be updated and therefore is not | ||
useful except where required by old projects under https://github.com/spacetelescope | ||
that rely on any patches made here long ago. | ||
|
||
We have rebranded this software as `stregion` for the sole purpose of | ||
avoiding conflicts with the existing `pyregion` package on PyPI. | ||
|
||
|
||
If you stumbled upon this package by mistake, go ahead and check out one of the | ||
following projects instead: | ||
|
||
|
||
* https://github.com/astropy/regions | ||
* https://github.com/astropy/pyregion | ||
|
||
------------------ | ||
|
||
stregion is a python module to parse ds9 region files. | ||
It supports ciao region files. | ||
|
||
|
||
## FEATURES | ||
|
||
* `ds9` and `ciao` region files. | ||
* (physical, wcs) coordinate conversion to the image coordinate. | ||
* convert regions to `matplotlib` patches. | ||
* convert regions to spatial filter (i.e., generate mask images) | ||
|
||
## LICENSE | ||
|
||
All files (see exception below) are under MIT License. See LICENSE. | ||
|
||
* `lib/kapteyn_celestial.py` is from the Kapteyn package | ||
(http://www.astro.rug.nl/software/kapteyn/). See `LICENSE_kapteyn.txt`. |
Oops, something went wrong.