SerialOverscanCorrectionTaskConfig#

class lsst.ip.isr.SerialOverscanCorrectionTaskConfig(*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.

fitType

The method for fitting the overscan bias level.

leadingToSkip

Number of leading values to skip in serial 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.

trailingToSkip

Number of trailing values to skip in serial 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)

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

leadingToSkip#

Number of leading values to skip in serial 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)

trailingToSkip#

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