Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Liu Dezi
csst_msc_sim
Commits
a5e13836
Commit
a5e13836
authored
Jan 21, 2022
by
Fang Yuedong
Browse files
comment out PSF binning
parent
a29b3b20
Changes
1
Hide whitespace changes
Inline
Side-by-side
ObservationSim/PSF/PSFInterp/PSFConfig.py
View file @
a5e13836
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment