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
b6519ab0
Commit
b6519ab0
authored
Jun 11, 2024
by
Fang Yuedong
Browse files
Merge branch 'master' into 'current_stable_for_tests'
shutter fix See merge request
!24
parents
7251d0ab
5101b309
Changes
1
Show whitespace changes
Inline
Side-by-side
observation_sim/instruments/chip/effects.py
View file @
b6519ab0
...
...
@@ -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
...
...
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