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
8196e079
Commit
8196e079
authored
1 year ago
by
Wei Chengliang
Browse files
Options
Download
Email Patches
Plain Diff
update calibration in Chip.py
parent
bbf88615
release_v3.0
current_stable_for_tests
develop
master
milky_way_extinction
new_sim
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/Instrument/Chip/Chip.py
+6
-0
ObservationSim/Instrument/Chip/Chip.py
with
6 additions
and
0 deletions
+6
-0
ObservationSim/Instrument/Chip/Chip.py
+
6
-
0
View file @
8196e079
...
...
@@ -508,6 +508,12 @@ class Chip(FocalPlane):
### seed=SeedBiasNonuni+self.chipID,
### logger=self.logger)
BiasCombImg
=
galsim
.
Image
(
self
.
npix_x
,
self
.
npix_y
,
init_value
=
0
)
###
if
config
[
"ins_effects"
][
"add_bias"
]
==
True
:
biaslevel
=
self
.
bias_level
overscan
=
biaslevel
-
2
elif
config
[
"ins_effects"
][
"add_bias"
]
==
False
:
biaslevel
=
0
overscan
=
0
# Readout noise for Biases is not generated with random seeds. So readout noise for bias images can't be reproduced.
if
config
[
"ins_effects"
][
"cosmic_ray"
]
==
True
:
...
...
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