https://github.com/astropy/pyregion

ds9 region parser for python

https://github.com/astropy/pyregion

Science Score: 36.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
    1 of 17 committers (5.9%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (6.5%) to scientific vocabulary

Keywords

astronomy astropy python regions

Keywords from Contributors

astrophysics astropy-affiliated closember photometry source-detection gtk qt tk wx drizzle
Last synced: 6 months ago · JSON representation

Repository

ds9 region parser for python

Basic Info
Statistics
  • Stars: 40
  • Watchers: 9
  • Forks: 42
  • Open Issues: 14
  • Releases: 0
Topics
astronomy astropy python regions
Created over 16 years ago · Last pushed about 1 year ago
Metadata Files
Readme Changelog License

README.rst

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](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
------

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

Owner

  • Name: The Astropy Project
  • Login: astropy
  • Kind: organization

GitHub Events

Total
  • Issues event: 1
  • Watch event: 1
  • Delete event: 2
  • Issue comment event: 4
  • Push event: 2
  • Pull request event: 8
  • Fork event: 2
  • Create event: 3
Last Year
  • Issues event: 1
  • Watch event: 1
  • Delete event: 2
  • Issue comment event: 4
  • Push event: 2
  • Pull request event: 8
  • Fork event: 2
  • Create event: 3

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 301
  • Total Committers: 17
  • Avg Commits per committer: 17.706
  • Development Distribution Score (DDS): 0.661
Past Year
  • Commits: 10
  • Committers: 3
  • Avg Commits per committer: 3.333
  • Development Distribution Score (DDS): 0.4
Top Committers
Name Email Commits
Jae-Joon Lee l****n@g****m 102
Christoph Deil D****h@g****m 54
Thomas Robitaille t****e@g****m 51
Brigitta Sipocz b****z@g****m 38
James Davies j****s@m****e 18
Joseph Jon Booker j****e@n****t 10
Adam Ginsburg k****h@g****m 8
astrodsg_laptop g****n@g****m 5
Mihai Cara m****a@i****e 3
P. L. Lim 2****m 3
Matthew Craig m****g@g****m 2
Larry Bradley l****y@g****m 2
Médéric Boquien m****n@a****k 1
Gen 5****0 1
Martin Hardcastle m****h@e****o 1
Tom Aldcroft t****t@g****m 1
SaturnSummoner j****l@g****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 51
  • Total pull requests: 65
  • Average time to close issues: 11 months
  • Average time to close pull requests: 2 months
  • Total issue authors: 28
  • Total pull request authors: 17
  • Average comments per issue: 3.67
  • Average comments per pull request: 3.86
  • Merged pull requests: 45
  • Bot issues: 0
  • Bot pull requests: 5
Past Year
  • Issues: 2
  • Pull requests: 11
  • Average time to close issues: 6 days
  • Average time to close pull requests: 13 days
  • Issue authors: 2
  • Pull request authors: 4
  • Average comments per issue: 0.5
  • Average comments per pull request: 0.45
  • Merged pull requests: 4
  • Bot issues: 0
  • Bot pull requests: 5
Top Authors
Issue Authors
  • cdeil (9)
  • pllim (6)
  • astrofrog (5)
  • ViviCoder (3)
  • bsipocz (3)
  • smaret (2)
  • Knusper (2)
  • ivastar (1)
  • jmccormac01 (1)
  • will-henney (1)
  • embray (1)
  • matteobachetti (1)
  • andresgur (1)
  • janerigby (1)
  • hoangducthuong (1)
Pull Request Authors
  • bsipocz (16)
  • cdeil (13)
  • leejjoon (7)
  • dependabot[bot] (5)
  • pllim (5)
  • keflavich (4)
  • sargas (3)
  • prajwel (3)
  • gen740 (2)
  • astrofrog (2)
  • jdavies-st (2)
  • mcara (1)
  • earthastronaut (1)
  • smaret (1)
  • astrobot (1)
Top Labels
Issue Labels
question (12) bug (11) enhancement (6) docs (4) tests (1)
Pull Request Labels
enhancement (23) docs (9) dependencies (5) bug (4) tests (3) question (1)

Packages

  • Total packages: 2
  • Total downloads:
    • pypi 5,191 last-month
  • Total docker downloads: 335
  • Total dependent packages: 7
    (may contain duplicates)
  • Total dependent repositories: 56
    (may contain duplicates)
  • Total versions: 17
  • Total maintainers: 4
pypi.org: pyregion

python parser for ds9 region files

  • Versions: 14
  • Dependent Packages: 6
  • Dependent Repositories: 54
  • Downloads: 5,191 Last month
  • Docker Downloads: 335
Rankings
Dependent packages count: 1.4%
Dependent repos count: 2.0%
Docker downloads count: 3.0%
Average: 4.9%
Downloads: 5.8%
Forks count: 6.6%
Stargazers count: 10.5%
Last synced: 6 months ago
conda-forge.org: pyregion

pyregion is a python module to parse ds9 region files. It also supports ciao region files. Please note that the main emphasis of the package is to read in the regions files generated by ds9 itself. It reads most of the region files created by ds9. However, it may fail to read some of the user-created (or created by other programs) region files, even if they can be successfully read by ds9.

  • Versions: 3
  • Dependent Packages: 1
  • Dependent Repositories: 2
Rankings
Dependent repos count: 20.2%
Forks count: 28.7%
Dependent packages count: 29.0%
Average: 30.2%
Stargazers count: 43.0%
Last synced: 6 months ago

Dependencies

.github/workflows/ci.yml actions
  • actions/checkout v3 composite
  • actions/setup-python v4 composite
pyproject.toml pypi
  • astropy >=5
  • numpy >=1.23
  • pyparsing >=2