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
0de79e17
Commit
0de79e17
authored
11 months ago
by
Wei Chengliang
1
Browse files
Options
Download
Email Patches
Plain Diff
bug fixes
parent
02adb0ea
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
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
ObservationSim/sim_steps/readout_output.py
+1
-1
ObservationSim/sim_steps/readout_output.py
config/obs_config_SCI_WIDE_phot.yaml
+6
-4
config/obs_config_SCI_WIDE_phot.yaml
with
7 additions
and
5 deletions
+7
-5
ObservationSim/sim_steps/readout_output.py
+
1
-
1
View file @
0de79e17
...
@@ -13,7 +13,7 @@ def add_prescan_overscan(self, chip, filt, tel, pointing, catalog, obs_param):
...
@@ -13,7 +13,7 @@ def add_prescan_overscan(self, chip, filt, tel, pointing, catalog, obs_param):
over1
=
chip
.
overscan_x
,
over1
=
chip
.
overscan_x
,
over2
=
chip
.
overscan_y
)
over2
=
chip
.
overscan_y
)
if
obs_param
[
"
poisson_and_dark"
][
"
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
),:]
=
bese_dark
chip
.
img
.
array
[(
chip
.
prescan_y
+
ny
):
-
(
chip
.
prescan_y
+
ny
),:]
=
bese_dark
...
...
This diff is collapsed.
Click to expand it.
config/obs_config_SCI_WIDE_phot.yaml
+
6
-
4
View file @
0de79e17
...
@@ -14,7 +14,8 @@ obs_type_code: "101"
...
@@ -14,7 +14,8 @@ obs_type_code: "101"
obs_id
:
"
00000001"
# this setting will only be used if pointing list file is not given
obs_id
:
"
00000001"
# this setting will only be used if pointing list file is not given
# Define list of chips
# Define list of chips
run_chips
:
[
8
]
run_chips
:
[
6
,
7
,
8
,
9
,
11
,
12
,
13
,
14
,
15
,
16
,
17
,
18
,
19
,
20
,
22
,
23
,
24
,
25
]
#run_chips: [1,2,3,4,5,10,21,26,27,28,29,30]
# Define observation sequence
# Define observation sequence
call_sequence
:
call_sequence
:
...
@@ -64,9 +65,10 @@ call_sequence:
...
@@ -64,9 +65,10 @@ call_sequence:
# Apply CCD Saturation & Blooming
# Apply CCD Saturation & Blooming
blooming
:
{}
blooming
:
{}
# # Run CTE simulation
# # Run CTE simulation
CTE_effect
:
{}
##
CTE_effect: {}
# Add prescan and overscan
# Add prescan and overscan
prescan_overscan
:
{}
prescan_overscan
:
add_dark
:
YES
# Add bias
# Add bias
bias
:
bias
:
bias_16channel
:
YES
bias_16channel
:
YES
...
...
This diff is collapsed.
Click to expand it.
Wei Chengliang
@weichengliang
mentioned in issue
#12 (closed)
·
11 months ago
mentioned in issue
#12 (closed)
mentioned in issue #12
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
Menu
Explore
Projects
Groups
Snippets