Skip to content

Commit

Permalink
Merge pull request #831 from altair-above/gain_fix
Browse files Browse the repository at this point in the history
Fixes #796 - cosmicray_lacosmic data type return
  • Loading branch information
mwcraig authored Jul 27, 2024
2 parents 49d2657 + a7a6d8b commit 00b83fe
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions AUTHORS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Alphabetical list of code contributors
* Christoph Deil (@cdeil)
* Clément M.T. Robert (@neutrinoceros)
* Timothy P. Ellsworth-Bowers (@tbowers7)
* Allison Eto (@altair-above)
* Forrest Gasdia (@fgasdia)
* Carlos Gomez (@carlgogo)
* Yash Gondhalekar (@Yash-10)
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Other Changes and Additions
Bug Fixes
^^^^^^^^^

- Fixes incorrect parameter passed to helper in ``cosmicray_lacosmic``. [#796]

2.4.1 (2023-05-30)
------------------

Expand Down
4 changes: 2 additions & 2 deletions ccdproc/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -1572,7 +1572,7 @@ def cosmicray_lacosmic(ccd, sigclip=4.5, sigfrac=0.3,

cleanarr = cleanarr - data_offset
cleanarr = _astroscrappy_gain_apply_helper(cleanarr,
gain,
gain.value,
gain_apply,
old_astroscrappy_interface)

Expand Down Expand Up @@ -1613,7 +1613,7 @@ def cosmicray_lacosmic(ccd, sigclip=4.5, sigfrac=0.3,

cleanarr = cleanarr - data_offset
cleanarr = _astroscrappy_gain_apply_helper(cleanarr,
gain,
gain.value,
gain_apply,
old_astroscrappy_interface)

Expand Down

0 comments on commit 00b83fe

Please sign in to comment.