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
b8d16247
Commit
b8d16247
authored
Jul 24, 2024
by
Fang Yuedong
Browse files
fix a typo in add_poisson_and_dark
parent
1aa4f533
Changes
1
Hide whitespace changes
Inline
Side-by-side
observation_sim/sim_steps/add_pattern_noise.py
View file @
b8d16247
...
@@ -27,7 +27,7 @@ def add_poisson_and_dark(self, chip, filt, tel, pointing, catalog, obs_param):
...
@@ -27,7 +27,7 @@ def add_poisson_and_dark(self, chip, filt, tel, pointing, catalog, obs_param):
InputDark
=
None
)
InputDark
=
None
)
else
:
else
:
chip
.
img
,
_
=
chip_utils
.
add_poisson
(
img
=
chip
.
img
,
chip
.
img
,
_
=
chip_utils
.
add_poisson
(
img
=
chip
.
img
,
chip
=
self
,
chip
=
chip
,
exptime
=
exptime
,
exptime
=
exptime
,
poisson_noise
=
chip
.
poisson_noise
,
poisson_noise
=
chip
.
poisson_noise
,
dark_noise
=
0.
)
dark_noise
=
0.
)
...
...
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