podi_wcs Module

This module contains a set of routines to read, manipulaten and write the scamp-generated WCS system in ODI frames.

podi_wcs.ax_plus_by_multiply(in1, in2)[source]
podi_wcs.ax_plus_by_multipower(in1, power1, in2, power2)[source]
podi_wcs.ax_plus_by_power(in1, power)[source]
podi_wcs.fill_entries(hdr, ordering, keyformat)[source]
podi_wcs.header_to_polynomial(hdr)[source]
podi_wcs.polyval2d(x, y, m)[source]
podi_wcs.rotate_polynomial(poly, rotate)[source]
podi_wcs.update_etaxi(etaxi, etaxi_r, p, debug=False)[source]
podi_wcs.update_polynomial(wcs_polynomials, px, py)[source]
podi_wcs.wcs_apply_rotation(wcs_poly, angle, debug=False)[source]
podi_wcs.wcs_apply_shift(wcs_poly, shift, debug=False)[source]
podi_wcs.wcs_clear_distortion(wcs_polynomials, min=0)[source]
podi_wcs.wcs_pix2wcs(xy, wcs_polynomials, include_distortion=True, debug=False)[source]
podi_wcs.wcs_pix2wcs_2(xy, wcs_polynomials, debug=False)[source]
podi_wcs.wcs_pix2wcs_astlib(xy, wcs_polynomials, include_distortion=True, debug=False)[source]
podi_wcs.wcs_poly_to_arrays(wcs_poly, debug=False)[source]
podi_wcs.wcs_wcspoly_to_header(wcs_polynomials, hdr)[source]