Skip to main content

Generalized World Coordinate System

Project description

CI Status Documentation Status Code coverage Powered by Astropy Badge Powered by STScI Badge

Generalized World Coordinate System (GWCS) is an Astropy affiliated package providing tools for managing the World Coordinate System of astronomical data.

GWCS takes a general approach to the problem of expressing transformations between pixel and world coordinates. It supports a data model which includes the entire transformation pipeline from input coordinates (detector by default) to world coordinates. It is tightly integrated with Astropy.

  • Transforms are instances of astropy.Model. They can be chained, joined or combined with arithmetic operators using the flexible framework of compound models in astropy.modeling.

  • Celestial coordinates are instances of astropy.SkyCoord and are transformed to other standard celestial frames using astropy.coordinates.

  • Time coordinates are represented by astropy.Time and can be further manipulated using the tools in astropy.time

  • Spectral coordinates are astropy.Quantity objects and can be converted to other units using the tools in astropy.units.

For complete features and usage examples see the documentation site.

Installation

To install:

pip install gwcs

To clone from github and install the master branch:

git clone https://github.com/spacetelescope/gwcs.git
cd gwcs
pip install --editable .

Contributing Code, Documentation, or Feedback

We welcome feedback and contributions to the project. Contributions of code, documentation, or general feedback are all appreciated. Please follow the contributing guidelines to submit an issue or a pull request.

We strive to provide a welcoming community to all of our users by abiding to the Code of Conduct.

Citing GWCS

https://zenodo.org/badge/29208937.svg

If you use GWCS, please cite the package via its Zenodo record.

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

gwcs-1.0.3.tar.gz (354.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gwcs-1.0.3-py3-none-any.whl (364.6 kB view details)

Uploaded Python 3

File details

Details for the file gwcs-1.0.3.tar.gz.

File metadata

  • Download URL: gwcs-1.0.3.tar.gz
  • Upload date:
  • Size: 354.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gwcs-1.0.3.tar.gz
Algorithm Hash digest
SHA256 c7cc83b0a2faf4433d94a047065e1686ba0e94b736c6453083a82d5111fc114a
MD5 0437ae2bf1f6e4f6776185f328b14b33
BLAKE2b-256 8bbb76541e00ade1996c9eb1cb9b9ca75e4962df2d0b9281e2551d6e7a62eac0

See more details on using hashes here.

File details

Details for the file gwcs-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: gwcs-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 364.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for gwcs-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c7bf303695a68e42719e661c91aaf802c46bf62c20a5148522ff3f969778b598
MD5 b5beabedbacf6cc3d7ceb9e39316bd57
BLAKE2b-256 03c4816d3a19dd705b64d8e25f0b5f5c93408bdfdfb9cd8261852fe2b73d6226

See more details on using hashes here.

Supported by

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