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
5101b309
Commit
5101b309
authored
Jun 11, 2024
by
JX
😵
Browse files
Merge remote-tracking branch 'origin/develop'
parents
7409b4a0
7bb99732
Pipeline
#5452
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 @
5101b309
...
...
@@ -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