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.1.tar.gz (353.3 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.1-py3-none-any.whl (364.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwcs-1.0.1.tar.gz
  • Upload date:
  • Size: 353.3 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.1.tar.gz
Algorithm Hash digest
SHA256 7333bd8d9ea6563c50751301bceabb557653d9ec45282669447ec6eb06659425
MD5 06d283b160703417b25cfb41221a4444
BLAKE2b-256 7190669075c903f4d465d96991b841b91d30a40a29e4deefe034ccbf8627cf96

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gwcs-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 364.2 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 eae99c44c2358a76db1663144686efdc8ea128bd5fc63cbbc3dd78551a022768
MD5 d857ff0b34c3138547f2fb422363ec50
BLAKE2b-256 9aa32a96ebad44ab00083644132d0110d4255ac6daa04959dc1035a0bea42c05

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