Skip to content
GitLab
Explore
Projects
Groups
Snippets
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
0c56933b
Commit
0c56933b
authored
11 months ago
by
Wei Chengliang
Browse files
Options
Download
Email Patches
Plain Diff
typo fixes
parent
0de79e17
release_v3.0
current_stable_for_tests
develop
master
milky_way_extinction
revert-914004c1
sim_scheduler
sls_psf_pca_convolve
v3.1.0
v3.0.0
1 merge request
!22
add field distortion test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
ObservationSim/sim_steps/readout_output.py
+1
-1
ObservationSim/sim_steps/readout_output.py
with
1 addition
and
1 deletion
+1
-1
ObservationSim/sim_steps/readout_output.py
+
1
-
1
View file @
0c56933b
...
@@ -16,7 +16,7 @@ def add_prescan_overscan(self, chip, filt, tel, pointing, catalog, obs_param):
...
@@ -16,7 +16,7 @@ def add_prescan_overscan(self, chip, filt, tel, pointing, catalog, obs_param):
if
obs_param
[
"add_dark"
]
==
True
:
if
obs_param
[
"add_dark"
]
==
True
:
ny
=
int
(
chip
.
npix_y
/
2
)
ny
=
int
(
chip
.
npix_y
/
2
)
base_dark
=
(
ny
-
1
)
*
(
chip
.
readout_time
/
ny
)
*
chip
.
dark_noise
base_dark
=
(
ny
-
1
)
*
(
chip
.
readout_time
/
ny
)
*
chip
.
dark_noise
chip
.
img
.
array
[(
chip
.
prescan_y
+
ny
):
-
(
chip
.
prescan_y
+
ny
),:]
=
b
e
se_dark
chip
.
img
.
array
[(
chip
.
prescan_y
+
ny
):
-
(
chip
.
prescan_y
+
ny
),:]
=
b
a
se_dark
return
chip
,
filt
,
tel
,
pointing
return
chip
,
filt
,
tel
,
pointing
def
add_readout_noise
(
self
,
chip
,
filt
,
tel
,
pointing
,
catalog
,
obs_param
):
def
add_readout_noise
(
self
,
chip
,
filt
,
tel
,
pointing
,
catalog
,
obs_param
):
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Explore
Projects
Groups
Snippets