DistortionLookupTable#

class astropy.wcs.DistortionLookupTable(*table*, *crpix*, *crval*, *cdelt*)#

基类:object

表示的单个查找表 distortion paper 转变。

参数:
table : 2-dimensional array2维

失真查找表。

crpix二元语义

畸变阵列参考像素

crval二元语义

图像阵列像素坐标

cdelt二元语义

网格步长

属性摘要

cdelt 

double array[naxis] 坐标增量 (CDELTia )对于每个坐标轴。

crpix 

double array[naxis] 参考坐标像素 (CRPIXja )对于每个像素轴。

crval 

double array[naxis] 坐标参考值 (CRVALia )对于每个坐标轴。

data 

float array 的数组数据 DistortionLookupTable .

方法总结

get_offset(x, y)

返回失真查找表中定义的偏移量。

属性文档

cdelt#

double array[naxis] 坐标增量 (CDELTia )对于每个坐标轴。

如果A CDi_ja 给出了线性变换矩阵,并给出了警告 cdelt 被忽略。这个 CDi_ja 可删除矩阵:

del wcs.wcs.cd

未定义的值用NaN表示。

crpix#

double array[naxis] 参考坐标像素 (CRPIXja )对于每个像素轴。

crval#

double array[naxis] 坐标参考值 (CRVALia )对于每个坐标轴。

data#

float array 的数组数据 DistortionLookupTable .

方法文件

get_offset(x, y)#

返回失真查找表中定义的偏移量。

返回:
coordinate : (2,) tuple(2,) tuple

像素点相对于失真表的偏移量( xy