Skip to main content

sip_tpv

Utilities for converting between the SIP convention for representing distortion in FITS images, and the TPV convention. Usage may look like:

from astropy.io import fits
from sip_tpv import pv_to_sip

hdulist = fits.open('input.fits')
for hdu in hdulist:
    pv_to_sip(hdu.header)

(hdulist is a collection of HDU objects)

License

Licensed under a 3-clause BSD style license - see LICENSE.txt

This module includes the equations for converting from the SIP distortion representation to the PV or TPV representations, following the SPIE proceedings paper at http://proceedings.spiedigitallibrary.org/proceeding.aspx?articleid=1363103 and http://web.ipac.caltech.edu/staff/shupe/reprints/SIP_to_PV_SPIE2012.pdf .

The work described in that paper is extended to 7th order.

Copyright (c) 2012-2014, California Institute of Technology

If you make use of this work, please cite:

"More flexibility in representing geometric distortion in astronomical images,"
Shupe, David L.; Laher, Russ R.; Storrie-Lombardi, Lisa; Surace, Jason; Grillmair, Carl;
Levitan, David; Sesar, Branimir, 2012, in Software and Cyberinfrastructure for
Astronomy II. Proceedings of the SPIE, Volume 8451, article id. 84511M.

Contributors

Thanks also to

  • Thanks to Octavi Fors for contributing code modifications for better modularization, and for extensive testing.

  • Funding is acknowledged from NASA to the NASA Herschel Science Center and the Spitzer Science Center.

Metadata

Release files for sip-tpv 1.2

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

Source distribution (sdist)

Source distribution for sip-tpv 1.2
File Size Uploaded Provenance Actions
sip_tpv-1.2.tar.gz 9.2 kB Without provenance Details for sip_tpv-1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for sip-tpv 1.2
File Interpreter ABI Platform Actions
sip_tpv-1.2-py3-none-any.whl Python 3 none any Details for sip_tpv-1.2-py3-none-any.whl

Total release size: 21.4 kB

Release files / sip_tpv-1.2.tar.gz

Download URL sip_tpv-1.2.tar.gz
Size 9.2 kB
Tags Source
SHA-256 checksum
How to use checksums
52325254411737eb3d26eaaafb7e2da01aa0af4760799b4e1d0de68100ef8a17
BLAKE2b-256 checksum
How to use checksums
3598a5bd697b3d868ccfabf830903ed8a05a766fc40ce95cbfe9d580f27fe631
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Release files / sip_tpv-1.2-py3-none-any.whl

Download URL sip_tpv-1.2-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
29ac98d3797b2ce67939cc91808ed18f7d277c1efb0022cf8abf0138a090d0b4
BLAKE2b-256 checksum
How to use checksums
cd5c6aeaaf879e4eadb23bcc66da63394532c685f2a24e5719b4c4ce0dba9708
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.8

Security for sip-tpv 1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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