Skip to main content
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.

Metadata

Release files for gwcs 1.0.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gwcs 1.0.3
File Size Uploaded
gwcs-1.0.3.tar.gz 354.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gwcs 1.0.3
File Interpreter ABI Platform
gwcs-1.0.3-py3-none-any.whl Python 3 none any Details

Total release size: 718.6 kB

Release files / gwcs-1.0.3.tar.gz

Download URL gwcs-1.0.3.tar.gz
Size 354.0 kB
Tags Source
SHA-256 checksum
How to use checksums
c7cc83b0a2faf4433d94a047065e1686ba0e94b736c6453083a82d5111fc114a
BLAKE2b-256 checksum
How to use checksums
8bbb76541e00ade1996c9eb1cb9b9ca75e4962df2d0b9281e2551d6e7a62eac0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release files / gwcs-1.0.3-py3-none-any.whl

Download URL gwcs-1.0.3-py3-none-any.whl
Size 364.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
c7bf303695a68e42719e661c91aaf802c46bf62c20a5148522ff3f969778b598
BLAKE2b-256 checksum
How to use checksums
03c4816d3a19dd705b64d8e25f0b5f5c93408bdfdfb9cd8261852fe2b73d6226
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.7

Release history Release notifications | RSS feed

This release

1.0.3 This release

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.26.1

2 release files

0.26.0

2 release files

0.25.1

2 release files

0.25.0

2 release files

0.22.1

2 release files

0.22.0

2 release files

0.21.0

2 release files

0.20.0

2 release files

0.19.0

2 release files

0.18.3

2 release files

0.18.1

2 release files

0.18.0

2 release files

0.17.1

1 release file

0.17.0

1 release file

0.16.1

1 release file

0.16.0

1 release file

0.15.0

1 release file

0.14.0

1 release file

0.13.0

1 release file

0.12.0

1 release file

0.11.0

1 release file

0.10.0

1 release file

0.9.1

1 release file

0.8.0

1 release file

0.7

1 release file

0.5.1

1 release file

0.5

1 release file

0.1.dev44

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page