Previous topic

Wcsprm

Next topic

Sip

This Page

DistortionLookupTable

class pywcs.DistortionLookupTable
  • table: 2-dimensional array for the distortion lookup table.
  • crpix: the distortion array reference pixel (a 2-tuple)
  • crval: is the image array pixel coordinate (a 2-tuple)
  • cdelt: is the grid step size (a 2-tuple)

Represents a single lookup table for a Paper IV distortion transformation.

get_offset(*x, y*) -> (*x, y*)

Returns the offset from the distortion table for pixel point (x, y).

cdelt

double array[naxis]

Coordinate increments (CDELTia) for each coord axis.

If a CDi_ja linear transformation matrix is present, a warning is raised and cdelt is ignored. The CDi_ja matrix may be deleted by:

del wcs.wcs.cd

An undefined value is represented by NaN.

crpix

double array[naxis]

Coordinate reference pixels (CRPIXja) for each pixel axis.

crval

double array[naxis]

Coordinate reference values (CRVALia) for each coordinate axis.

data

float array

The array data for the DistortionLookupTable.