Skip to main content

python parser for ds9 region files

Project description

pyregion is a python module to parse ds9 region files. It also supports ciao region files.

Installation: pip install pyregion

Lead developer: Jae-Joon Lee ([@leejjoon](http://github.com/leejjoon))

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 are under MIT License. See LICENSE.

Status

https://travis-ci.org/astropy/pyregion.svg?branch=master https://coveralls.io/repos/astropy/pyregion/badge.svg?branch=master

New regions package

See also the in-development regions package at https://github.com/astropy/regions a new astronomy package for regions based on Astropy.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyregion-2.3.0.tar.gz (1.0 MB view hashes)

Uploaded Source

Built Distributions

pyregion-2.3.0-cp313-cp313-win_amd64.whl (227.2 kB view hashes)

Uploaded CPython 3.13 Windows x86-64

pyregion-2.3.0-cp313-cp313-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (542.8 kB view hashes)

Uploaded CPython 3.13 manylinux: glibc 2.17+ x86-64

pyregion-2.3.0-cp313-cp313-macosx_11_0_arm64.whl (225.2 kB view hashes)

Uploaded CPython 3.13 macOS 11.0+ ARM64

pyregion-2.3.0-cp313-cp313-macosx_10_13_x86_64.whl (231.9 kB view hashes)

Uploaded CPython 3.13 macOS 10.13+ x86-64

pyregion-2.3.0-cp312-cp312-win_amd64.whl (227.4 kB view hashes)

Uploaded CPython 3.12 Windows x86-64

pyregion-2.3.0-cp312-cp312-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (545.1 kB view hashes)

Uploaded CPython 3.12 manylinux: glibc 2.17+ x86-64

pyregion-2.3.0-cp312-cp312-macosx_11_0_arm64.whl (225.8 kB view hashes)

Uploaded CPython 3.12 macOS 11.0+ ARM64

pyregion-2.3.0-cp312-cp312-macosx_10_9_x86_64.whl (232.3 kB view hashes)

Uploaded CPython 3.12 macOS 10.9+ x86-64

pyregion-2.3.0-cp311-cp311-win_amd64.whl (227.7 kB view hashes)

Uploaded CPython 3.11 Windows x86-64

pyregion-2.3.0-cp311-cp311-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (534.8 kB view hashes)

Uploaded CPython 3.11 manylinux: glibc 2.17+ x86-64

pyregion-2.3.0-cp311-cp311-macosx_11_0_arm64.whl (224.9 kB view hashes)

Uploaded CPython 3.11 macOS 11.0+ ARM64

pyregion-2.3.0-cp311-cp311-macosx_10_9_x86_64.whl (231.6 kB view hashes)

Uploaded CPython 3.11 macOS 10.9+ x86-64

pyregion-2.3.0-cp310-cp310-win_amd64.whl (226.9 kB view hashes)

Uploaded CPython 3.10 Windows x86-64

pyregion-2.3.0-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (503.1 kB view hashes)

Uploaded CPython 3.10 manylinux: glibc 2.17+ x86-64

pyregion-2.3.0-cp310-cp310-macosx_11_0_arm64.whl (224.8 kB view hashes)

Uploaded CPython 3.10 macOS 11.0+ ARM64

pyregion-2.3.0-cp310-cp310-macosx_10_9_x86_64.whl (231.0 kB view hashes)

Uploaded CPython 3.10 macOS 10.9+ x86-64

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page