Commit a5e13836 authored by Fang Yuedong's avatar Fang Yuedong
Browse files

comment out PSF binning

parent a29b3b20
......@@ -111,9 +111,9 @@ def LoadPSF(iccd, iwave, ipsf, psfPath, InputMaxPixelPos=True, PSFCentroidWgt=Fa
if PSFCentroidWgt:
psfInfo['centroid_x'] = data['cx'][0][0] #mm, psfCentroidWgt质心相对主光线的偏移量
psfInfo['centroid_y'] = data['cy'][0][0] #mm
if PSFBinning:
psfInfo['centroid_x'] = data['cx'][0][0] +0.0025/2 #binning引起的主光线漂移
psfInfo['centroid_y'] = data['cy'][0][0] +0.0025/2
# if PSFBinning:
# psfInfo['centroid_x'] = data['cx'][0][0] +0.0025/2 #binning引起的主光线漂移
# psfInfo['centroid_y'] = data['cy'][0][0] +0.0025/2
return psfInfo
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment