抿#
- class astropy.wcs.Sip(*a, b, ap, bp, crpix*)#
基类:
object
这个
Sip
class performs polynomial distortion correction using the SIP 两个方向的惯例。- 参数:
- a :
ndarray
恩达雷 这个
A_i_j
像素到焦平面变换的多项式double array[m+1][m+1]
. 它的大小必须是( m + 1, m +1)在哪里 m =A_ORDER
.- b :
ndarray
恩达雷 这个
B_i_j
像素到焦平面变换的多项式double array[m+1][m+1]
. 它的大小必须是( m + 1, m +1)在哪里 m =B_ORDER
.- ap :
ndarray
恩达雷 这个
AP_i_j
像素到焦平面变换的多项式double array[m+1][m+1]
. 它的大小必须是( m + 1, m +1)在哪里 m =AP_ORDER
.- bp :
ndarray
恩达雷 这个
BP_i_j
像素到焦平面变换的多项式double array[m+1][m+1]
. 它的大小必须是( m + 1, m +1)在哪里 m =BP_ORDER
.- crpix :
ndarray
恩达雷 参考像素为
double array[2]
.
- a :
笔记
Shupe,D.L.,M.Moshir,J.Li,D.Makovoz和R.Narron。2005年。”在FITS图像头中表示失真的SIP协议。
属性摘要
double array[a_order+1][a_order+1]
焦平面变换矩阵。int
多项式的(只读)阶 (A_ORDER
)double array[ap_order+1][ap_order+1]
焦平面到像素的变换矩阵。int
多项式的(只读)阶 (AP_ORDER
)double array[b_order+1][b_order+1]
像素到焦平面的变换矩阵。int
多项式的(只读)阶 (B_ORDER
)double array[bp_order+1][bp_order+1]
焦平面到像素的变换矩阵。int
多项式的(只读)阶 (BP_ORDER
)double array[naxis]
参考坐标像素 (CRPIXja
)对于每个像素轴。方法总结
sip_foc2pix公司( foccrd,来源 ) ->
double array[ncoord][nelem]
sip_pix2foc公司( 皮克斯,起源 ) ->
double array[ncoord][nelem]
属性文档
- a#
double array[a_order+1][a_order+1]
焦平面变换矩阵。这个 SIP
A_i_j
用于像素到焦平面变换的矩阵。它的值可以就地更改,但在不创建新的
Sip
对象。
- a_order#
int
多项式的(只读)阶 (A_ORDER
)
- ap#
double array[ap_order+1][ap_order+1]
焦平面到像素的变换矩阵。
- ap_order#
int
多项式的(只读)阶 (AP_ORDER
)
- b#
double array[b_order+1][b_order+1]
像素到焦平面的变换矩阵。
- b_order#
int
多项式的(只读)阶 (B_ORDER
)
- bp#
double array[bp_order+1][bp_order+1]
焦平面到像素的变换矩阵。
- bp_order#
int
多项式的(只读)阶 (BP_ORDER
)
- crpix#
double array[naxis]
参考坐标像素 (CRPIXja
)对于每个像素轴。
方法文件
- foc2pix()#
sip_foc2pix公司( foccrd,来源 ) ->
double array[ncoord][nelem]
使用将焦平面坐标转换为像素坐标 SIP 多项式失真约定。
- 参数:
- 返回:
- pixcrd :
ndarray
恩达雷 将像素坐标数组返回为
double array[ncoord][nelem]
.
- pixcrd :
- 加薪:
MemoryError
内存分配失败。
ValueError
坐标转换参数无效。
- pix2foc()#
sip_pix2foc公司( 皮克斯,起源 ) ->
double array[ncoord][nelem]
使用将像素坐标转换为焦平面坐标 SIP 多项式失真约定。
- 参数:
- 返回:
- foccrd :
ndarray
恩达雷 将焦平面坐标数组返回为
double array[ncoord][nelem]
.
- foccrd :
- 加薪:
MemoryError
内存分配失败。
ValueError
坐标转换参数无效。