Bases: object
Represents a single lookup table for a Paper IV distortion transformation.
Parameters: | table : 2-dimensional array
crpix : 2-tuple
crval : 2-tuple
cdelt : 2-tuple
|
---|
Attributes Summary
cdelt | double array[naxis] Coordinate increments (CDELTia) for each |
crpix | double array[naxis] Coordinate reference pixels (CRPIXja) for |
crval | double array[naxis] Coordinate reference values (CRVALia) for |
data | float array The array data for the |
Methods Summary
get_offset(x, y) -> (x, y) | Returns the offset as defined in the distortion lookup table. |
Attributes Documentation
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.
double array[naxis] Coordinate reference pixels (CRPIXja) for each pixel axis.
double array[naxis] Coordinate reference values (CRVALia) for each coordinate axis.
float array The array data for the DistortionLookupTable.
Methods Documentation
Returns the offset as defined in the distortion lookup table.
Returns: | coordinate : coordinate pair
|
---|