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
210830c7
Commit
210830c7
authored
May 08, 2024
by
Yan Zhaojun
Browse files
debug
parent
100bd12d
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_mci_sim/csst_mci_sim.py
View file @
210830c7
...
@@ -2108,7 +2108,7 @@ class MCIsimulator():
...
@@ -2108,7 +2108,7 @@ class MCIsimulator():
siliconsensor
.
accumulate
(
photons
,
image
)
siliconsensor
.
accumulate
(
photons
,
image
)
photons
=
galsim
.
PhotonArray
.
makeFromImage
(
image
,
max_flux
=
1.0
)
photons
=
galsim
.
PhotonArray
.
makeFromImage
(
image
,
max_flux
=
max
(
1.0
,
stamp_img
.
array
.
max
()
/
100000.0
)
)
cx0
,
cy0
=
centroid
(
image
.
array
)
cx0
,
cy0
=
centroid
(
image
.
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