8000 JP-3463: Add log message to dark step by drlaw1558 · Pull Request #8425 · spacetelescope/jwst · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

JP-3463: Add log message to dark step #8425

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ associations
- Match NIRSpec imprint observations to science exposures on mosaic tile location
and dither pointing, ``MOSTILNO`` and ``DITHPTIN``. [#8410]

dark_current
------------

- Add log info message when specifying an average_dark_current for noise calculations.
[#8425]

documentation
-------------

Expand Down
1 change: 1 addition & 0 deletions jwst/dark_current/dark_current_step.py
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ def set_average_dark_current(self, input_model, dark_model):
"""
if self.average_dark_current is not None:
input_model.average_dark_current[:, :] = self.average_dark_current
self.log.info('Using Poisson noise from average dark current %s e-/sec', self.average_dark_current)
else:
# First prioritize a 2D average_dark_current, if defined in dark.
# If not present, apply scalar to datamodel array, if scalar is present.
Expand Down
0