Metadata-Version: 2.1
Name: stregion
Version: 1.1.8
Summary: python parser for ds9 region files
Author-email: Jae-Joon Lee <lee.j.joon@gmail.com>
License: Copyright (c) 2009 Jae-Joon Lee
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in
        all copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
        THE SOFTWARE.
        
Project-URL: repository, http://github.com/spacetelescope/stregion
Project-URL: download, http://github.com/spacetelescope/stregion/releases
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Science/Research
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: MacOS :: MacOS X
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Cython
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering :: Astronomy
Requires-Python: >=3.7
Description-Content-Type: text/markdown
License-File: LICENSE.txt
License-File: LICENSE_kapteyn.txt
Requires-Dist: numpy
Requires-Dist: pyparsing >=2.0.0

# 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`.
