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
e5db279e
Commit
e5db279e
authored
May 29, 2024
by
Fang Yuedong
Browse files
set t_exp to pointing.exp_time for shutter effect
parent
2d662612
Pipeline
#4851
passed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
observation_sim/ObservationSim.py
View file @
e5db279e
...
@@ -45,7 +45,7 @@ class Observation(object):
...
@@ -45,7 +45,7 @@ class Observation(object):
chip
.
shutter_img
=
np
.
ones_like
(
chip
.
img
.
array
)
chip
.
shutter_img
=
np
.
ones_like
(
chip
.
img
.
array
)
else
:
else
:
chip
.
shutter_img
=
effects
.
ShutterEffectArr
(
chip
.
shutter_img
=
effects
.
ShutterEffectArr
(
chip
.
img
,
t_shutter
=
1.3
,
dist_bearing
=
735
,
dt
=
1E-3
)
chip
.
img
,
t_exp
=
pointing
.
exp_time
,
t_shutter
=
1.3
,
dist_bearing
=
735
,
dt
=
1E-3
)
chip
.
prnu_img
=
effects
.
PRNU_Img
(
xsize
=
chip
.
npix_x
,
ysize
=
chip
.
npix_y
,
sigma
=
0.01
,
chip
.
prnu_img
=
effects
.
PRNU_Img
(
xsize
=
chip
.
npix_x
,
ysize
=
chip
.
npix_y
,
sigma
=
0.01
,
seed
=
int
(
self
.
config
[
"random_seeds"
][
"seed_prnu"
]
+
chip
.
chipID
))
seed
=
int
(
self
.
config
[
"random_seeds"
][
"seed_prnu"
]
+
chip
.
chipID
))
...
...
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