Skip to content

astropy/pyregion

Folders and files

NameName
Last commit message
Last commit date

Latest commit

94ddf4a · Feb 12, 2025
Feb 12, 2025
Nov 17, 2022
Nov 16, 2022
Oct 4, 2024
Oct 13, 2017
Feb 12, 2025
Oct 4, 2024
Aug 11, 2016
Nov 17, 2022
May 9, 2017
Oct 4, 2024
Oct 4, 2024

Repository files navigation

pyregion

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.