Skip to content

Commit

Permalink
Nail down
Browse files Browse the repository at this point in the history
  • Loading branch information
jhunkeler committed Jun 27, 2018
1 parent 7ee5fb3 commit aaa912b
Show file tree
Hide file tree
Showing 9 changed files with 147 additions and 570 deletions.
62 changes: 62 additions & 0 deletions .gitignore
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.
1 change: 0 additions & 1 deletion MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@ include examples/*.header
include src/_region_filter.c
include src/_region_filter.pyx
include LICENSE LICENSE_kapteyn.txt
include distribute_setup.py
29 changes: 0 additions & 29 deletions README

This file was deleted.

39 changes: 39 additions & 0 deletions README.md
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`.

0 comments on commit aaa912b

Please sign in to comment.