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
csst-sims
csst_mci_sim
Commits
077696cc
Commit
077696cc
authored
Apr 14, 2024
by
Yan Zhaojun
Browse files
test
parent
82283607
Pipeline
#4064
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
077696cc
...
@@ -2218,7 +2218,7 @@ class MCIsimulator():
...
@@ -2218,7 +2218,7 @@ class MCIsimulator():
st_magz
.
append
(
zmag
)
st_magz
.
append
(
zmag
)
self
.
log
.
info
(
'
load star catlog 888888888888
'
)
self
.
log
.
info
(
'
begin cal PSF
'
)
######################################################################
######################################################################
psf
=
dict
()
psf
=
dict
()
...
@@ -2260,7 +2260,7 @@ class MCIsimulator():
...
@@ -2260,7 +2260,7 @@ class MCIsimulator():
#################################################
#################################################
photons
=
galsim
.
PhotonArray
.
makeFromImage
(
stamp_img
,
max_flux
=
m
in
(
1.0
,
stamp_img
.
array
.
max
()
/
10000.0
))
photons
=
galsim
.
PhotonArray
.
makeFromImage
(
stamp_img
,
max_flux
=
m
ax
(
1.0
,
stamp_img
.
array
.
max
()
/
10000
0
.0
))
cx0
,
cy0
=
centroid
(
stamp_img
.
array
)
cx0
,
cy0
=
centroid
(
stamp_img
.
array
)
...
...
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