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.

Note

Beginning with version 0.9 GWCS requires Python 3.5 and above.

Installation

To install:

pip install gwcs  # Make sure pip >= 9.0.1 is used.

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

Uploaded Source

Built Distribution

gwcs-0.19.0-py3-none-any.whl (110.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: gwcs-0.19.0.tar.gz
  • Upload date:
  • Size: 188.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for gwcs-0.19.0.tar.gz
Algorithm Hash digest
SHA256 a2388fa9cb98d51e2a8338f52ac6dfb00a0b35d2694980a6a18c5b82552070b8
MD5 b55db0e0f7627aa4ea82c6f7668b697f
BLAKE2b-256 4fad2b8a248abacddaa122a549a08faa546b93df08d7cc3cc09b9a26fd198d51

See more details on using hashes here.

File details

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

File metadata

  • Download URL: gwcs-0.19.0-py3-none-any.whl
  • Upload date:
  • Size: 110.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for gwcs-0.19.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0efd6b5cb6bf6162d7950ff85c998cbe9f4ae194852db070b4366cb8edc704c3
MD5 f0fa2cc445d6d3e0286850b6e3758100
BLAKE2b-256 5fa1c0a3f6ba90b9d9426c1cbd596a8d89e89c1fc0da6b07d56b53f6edc4ac79

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