OverscanCorrectionTaskConfig#
- class lsst.ip.isr.OverscanCorrectionTaskConfig(*args, **kw)#
Bases:
OverscanCorrectionTaskConfigBaseAttributes Summary
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.
Correct using parallel overscan after serial overscan correction? (
bool, defaultFalse)The method for fitting the overscan bias level.
Number of leading columns to skip in serial overscan correction.
Number of leading rows to skip in parallel overscan correction.
Mask planes to reject when measuring overscan (
List, default['BAD', 'SAT'])Maximum deviation from median (in ADU) to mask in overscan correction; Will be applied to the absolute deviation if doAbsoluteMaxDeviation=True.
Rejection threshold (sigma) for collapsing overscan before fit (
float, default3.0)Order of polynomial to fit if overscan fit type is a polynomial, or number of spline knots if overscan fit type is a spline.
Treat overscan as an integer image for purposes of fitType=MEDIAN and fitType=MEDIAN_PER_ROW.
Grow the SAT mask in the parallel overscan region by this many pixels.
Threshold above which pixels in the parallel overscan are masked as bleeds.
Number of trailing columns to skip in serial overscan correction.
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, defaultTrue)
- doParallelOverscan#
Correct using parallel overscan after serial overscan correction? (
bool, defaultFalse)
- 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, default0)
- leadingRowsToSkip#
Number of leading rows to skip in parallel overscan correction. (
int, default0)
- 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, default1000.0)
- numSigmaClip#
Rejection threshold (sigma) for collapsing overscan before fit (
float, default3.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, default1)
- overscanIsInt#
Treat overscan as an integer image for purposes of fitType=MEDIAN and fitType=MEDIAN_PER_ROW. (
bool, defaultTrue)
- 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, default7)
- parallelOverscanMaskThreshold#
Threshold above which pixels in the parallel overscan are masked as bleeds. (
int, default100000)
- trailingColumnsToSkip#
Number of trailing columns to skip in serial overscan correction. (
int, default0)
- trailingRowsToSkip#
Number of trailing rows to skip in parallel overscan correction. (
int, default0)