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
python setup.py install

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-0.21.0.tar.gz (195.9 kB view details)

Uploaded Source

Built Distribution

gwcs-0.21.0-py3-none-any.whl (155.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwcs-0.21.0.tar.gz
  • Upload date:
  • Size: 195.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for gwcs-0.21.0.tar.gz
Algorithm Hash digest
SHA256 8cd27f1ce6b25ad72cc33ca2e4178ab29d82050344c710713f74992136a1c5ba
MD5 abea8fd157472f61f68b3cf0502a47af
BLAKE2b-256 64d7752445ad758022c5196aa35f1b90702a4c5054657e8357d1b37afa828b6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gwcs-0.21.0-py3-none-any.whl
  • Upload date:
  • Size: 155.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.12.2

File hashes

Hashes for gwcs-0.21.0-py3-none-any.whl
Algorithm Hash digest
SHA256 5a89f512d2a9b2933534fa454b0f34361f714d896f53d9a4b9d1b3a2831b58cc
MD5 e753df61faee5c0f894cc2804bc064c7
BLAKE2b-256 f35fe7a73b8e8319f878530dbdf11c6d1c4092ff1f47070931dadef9cc35c632

See more details on using hashes here.

Supported by

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