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_msc_sim
Commits
7bb99732
Commit
7bb99732
authored
Jun 10, 2024
by
Zhang Xin
Browse files
fix shutter effect bug
parent
21c0174d
Pipeline
#5451
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
observation_sim/instruments/chip/effects.py
View file @
7bb99732
...
...
@@ -793,7 +793,7 @@ def ShutterEffectArr(GSImage, t_exp=150, t_shutter=1.3, dist_bearing=735, dt=1E-
sizey
=
ymax
-
ymin
+
1
xnewgrid
=
np
.
mgrid
[
xmin
:(
xmin
+
sizex
)]
expeffect
=
interpolate
.
splev
(
xnewgrid
,
intp
,
der
=
0
)
expeffect
/=
np
.
max
(
expeffect
)
expeffect
/=
t_exp
exparrnormal
=
np
.
tile
(
expeffect
,
(
sizey
,
1
))
# GSImage *= exparrnormal
...
...
Zhang Xin
@zhangxin
mentioned in issue
#44 (closed)
·
Jun 20, 2024
mentioned in issue
#44 (closed)
mentioned in issue #44
Toggle commit list
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