OverscanCorrectionTaskConfig#

class lsst.ip.isr.OverscanCorrectionTaskConfig(*args, **kw)#

Bases: OverscanCorrectionTaskConfigBase

Attributes Summary

doAbsoluteMaxDeviation

Apply the maxDeviation to the absolute value of the deviation? If False, this will be a one-sided cut for positive-only deviations (typically for parallel overscan subtraction.

doParallelOverscan

Correct using parallel overscan after serial overscan correction? (bool, default False)

fitType

The method for fitting the overscan bias level.

leadingColumnsToSkip

Number of leading columns to skip in serial overscan correction.

leadingRowsToSkip

Number of leading rows to skip in parallel overscan correction.

maskPlanes

Mask planes to reject when measuring overscan (List, default ['BAD', 'SAT'])

maxDeviation

Maximum deviation from median (in ADU) to mask in overscan correction; Will be applied to the absolute deviation if doAbsoluteMaxDeviation=True.

numSigmaClip

Rejection threshold (sigma) for collapsing overscan before fit (float, default 3.0)

order

Order of polynomial to fit if overscan fit type is a polynomial, or number of spline knots if overscan fit type is a spline.

overscanIsInt

Treat overscan as an integer image for purposes of fitType=MEDIAN and fitType=MEDIAN_PER_ROW.

parallelOverscanMaskGrowSize

Grow the SAT mask in the parallel overscan region by this many pixels.

parallelOverscanMaskThreshold

Threshold above which pixels in the parallel overscan are masked as bleeds.

trailingColumnsToSkip

Number of trailing columns to skip in serial overscan correction.

trailingRowsToSkip

Number of trailing rows to skip in parallel overscan correction.

Attributes Documentation

doAbsoluteMaxDeviation#

Apply the maxDeviation to the absolute value of the deviation? If False, this will be a one-sided cut for positive-only deviations (typically for parallel overscan subtraction. (bool, default True)

doParallelOverscan#

Correct using parallel overscan after serial overscan correction? (bool, default False)

fitType#

The method for fitting the overscan bias level. (str, default 'MEDIAN')

Allowed values:

'POLY'

Fit ordinary polynomial to the longest axis of the overscan region

'CHEB'

Fit Chebyshev polynomial to the longest axis of the overscan region

'LEG'

Fit Legendre polynomial to the longest axis of the overscan region

'NATURAL_SPLINE'

Fit natural spline to the longest axis of the overscan region

'CUBIC_SPLINE'

Fit cubic spline to the longest axis of the overscan region

'AKIMA_SPLINE'

Fit Akima spline to the longest axis of the overscan region

'MEAN'

Correct using the mean of the overscan region

'MEANCLIP'

Correct using a clipped mean of the overscan region

'MEDIAN'

Correct using the median of the overscan region

'MEDIAN_PER_ROW'

Correct using the median per row of the overscan region

'MEAN_PER_ROW'

Correct using the mean per row of the overscan region

'None'

Field is optional

leadingColumnsToSkip#

Number of leading columns to skip in serial overscan correction. (int, default 0)

leadingRowsToSkip#

Number of leading rows to skip in parallel overscan correction. (int, default 0)

maskPlanes#

Mask planes to reject when measuring overscan (List, default ['BAD', 'SAT'])

maxDeviation#

Maximum deviation from median (in ADU) to mask in overscan correction; Will be applied to the absolute deviation if doAbsoluteMaxDeviation=True. (float, default 1000.0)

numSigmaClip#

Rejection threshold (sigma) for collapsing overscan before fit (float, default 3.0)

order#

Order of polynomial to fit if overscan fit type is a polynomial, or number of spline knots if overscan fit type is a spline. (int, default 1)

overscanIsInt#

Treat overscan as an integer image for purposes of fitType=MEDIAN and fitType=MEDIAN_PER_ROW. (bool, default True)

parallelOverscanMaskGrowSize#

Grow the SAT mask in the parallel overscan region by this many pixels. This value was determined from the ITL chip in the LATISS camera. (int, default 7)

parallelOverscanMaskThreshold#

Threshold above which pixels in the parallel overscan are masked as bleeds. (int, default 100000)

trailingColumnsToSkip#

Number of trailing columns to skip in serial overscan correction. (int, default 0)

trailingRowsToSkip#

Number of trailing rows to skip in parallel overscan correction. (int, default 0)