2.1.0 (re-relase for Zenodo)
The primary change in this release is a change to the behavior of cosmicray_lacosmic. Prior to this version the gain was applied to the input data without updating the units. That has been changed in this version. A more complete description is below.
There are two ways to correctly invoke ~ccdproc.cosmicray_lacosmic:
- Supply a gain-corrected image, in units of
electron, and setgain=1.0
(the default value) incosmicray_lacosmic. - Supply an image in
aduand set thegainargument of
cosmicray_lacosmicto the appropriate value for your
instrument. Ideally, pass in againwith units, but if units are
omitted they will be assumed to beelectron/adu.