Skip to content

2.1.0 (re-relase for Zenodo)

Choose a tag to compare

@mwcraig mwcraig released this 07 Mar 23:50

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 set gain=1.0
    (the default value) in cosmicray_lacosmic.
  • Supply an image in adu and set the gain argument of
    cosmicray_lacosmic to the appropriate value for your
    instrument. Ideally, pass in a gain with units, but if units are
    omitted they will be assumed to be electron/adu.