Pyregion
ds9 region parser for python
Install / Use
/learn @astropy/PyregionREADME
pyregion
pyregion is a python module to parse ds9 region files. It also supports ciao region files.
- Code: https://github.com/astropy/pyregion
- Docs: https://pyregion.readthedocs.io
- PyPI: http://pypi.python.org/pypi/pyregion
Installation: pip install pyregion
Lead developer: Jae-Joon Lee (@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
.. image:: https://travis-ci.org/astropy/pyregion.svg?branch=master :target: https://travis-ci.org/astropy/pyregion
.. image:: https://coveralls.io/repos/astropy/pyregion/badge.svg?branch=master :target: https://coveralls.io/r/astropy/pyregion
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.
Related Skills
node-connect
345.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
claude-opus-4-5-migration
104.6kMigrate prompts and code from Claude Sonnet 4.0, Sonnet 4.5, or Opus 4.1 to Opus 4.5
frontend-design
104.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
model-usage
345.4kUse CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown. Trigger when asked for model-level usage/cost data from codexbar, or when you need a scriptable per-model summary from codexbar cost JSON.
