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
349c1960
Commit
349c1960
authored
1 year ago
by
Fang Yuedong
Browse files
Options
Download
Email Patches
Plain Diff
add prepare_header step into quantization_and_output
parent
6041fe88
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
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
ObservationSim/sim_steps/readout_output.py
+3
-0
ObservationSim/sim_steps/readout_output.py
with
3 additions
and
0 deletions
+3
-0
ObservationSim/sim_steps/readout_output.py
+
3
-
0
View file @
349c1960
...
...
@@ -35,6 +35,9 @@ def apply_gain(self, chip, filt, tel, pointing, catalog, obs_param):
def
quantization_and_output
(
self
,
chip
,
filt
,
tel
,
pointing
,
catalog
,
obs_param
):
if
not
hasattr
(
self
,
'h_ext'
):
_
,
_
=
self
.
prepare_headers
(
chip
=
chip
,
pointing
=
pointing
)
if
obs_param
[
"format_output"
]
==
True
:
self
.
chip_output
.
Log_info
(
" Apply 1*16 format"
)
chip
.
img
=
chip_utils
.
formatOutput
(
GSImage
=
chip
.
img
)
...
...
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