diff --git a/CHANGES.rst b/CHANGES.rst index 664e60d0..17bc465d 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -1,7 +1,10 @@ 1.6.1 (unreleased) ================== +ramp_fitting +~~~~~~~~~~~~ +- Add ``average_dark_current`` to calculations of poisson variance. [#243] 1.6.0 (2024-02-15) ================== diff --git a/docs/stcal/ramp_fitting/description.rst b/docs/stcal/ramp_fitting/description.rst index 4ee8492d..9ea6830d 100644 --- a/docs/stcal/ramp_fitting/description.rst +++ b/docs/stcal/ramp_fitting/description.rst @@ -202,7 +202,9 @@ in e/DN. The :math:`slope_{est}` is an overall estimated slope of the pixel, calculated by taking the median of the first differences of the groups that are unaffected by saturation and cosmic rays, in all integrations. This is a more robust estimate of the slope than the segment-specific slope, which may be noisy -for short segments. +for short segments. The contributions from the dark current are added when present; +the value can be provided by the user during the `jwst.dark_current.DarkCurrentStep`, +or it can be specified in scalar or 2D array form by the dark reference file. The combined variance of the slope of a segment is the sum of the variances: