Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 1.1.3 #1

Merged
merged 1 commit into from
Jun 27, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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`.