ParallelOverscanCorrectionTaskConfig#
- class lsst.ip.isr.ParallelOverscanCorrectionTaskConfig(*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.
Do column-by-column median smoothing outlier rejection? Columns that are rejected in this way will be grown by parallelOverscanMaskedColumnGrowSize.
Mask saturated pixels in parallel overscan region? (
bool, defaultTrue)The method for fitting the overscan bias level.
Number of leading values 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.
Kernel (pixels) to use to smooth the parallel overscan columns.
Outlier threshold after parallel median smoothing (adu).
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.
When the parallel overscan region median is greater than parallelOverscanFraction and the imaging region median is greater than parallelOverscanImageThreshold then parallel overscan subtraction will be turned off, as this is usually due to the region being flooded with spillover from a super-saturated flat.
When the parallel overscan region median is greater than parallelOverscanFraction and the imaging region median is greater than parallelOverscanImageThreshold then parallel overscan subtraction will be turned off, as this is usually due to the region being flooded with spillover from a super-saturated flat.
Grow the SAT mask in the parallel overscan region by this many pixels.
When a full column is masked in the parallel overscan (at less than saturation) the mask should be grown by this many pixels.
The saturation level (adu) to use if not specified in call to maskParallelOverscanAmp.
The parallel overscan saturation level may be below that of the data region.
Number of trailing values to skip in parallel overscan correction.
Methods Summary
Subclass hook for computing defaults.
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)
- doMedianSmoothingOutlierRejection#
Do column-by-column median smoothing outlier rejection? Columns that are rejected in this way will be grown by parallelOverscanMaskedColumnGrowSize. (
bool, defaultTrue)
- doParallelOverscanSaturation#
Mask saturated pixels in parallel overscan region? (
bool, defaultTrue)
- 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 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)
- medianSmoothingKernel#
Kernel (pixels) to use to smooth the parallel overscan columns. Must be odd. (
int, default5)
- medianSmoothingOutlierThreshold#
Outlier threshold after parallel median smoothing (adu). This is applied only to positive outliers. (
float, default5.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)
- parallelOverscanFraction#
When the parallel overscan region median is greater than parallelOverscanFraction and the imaging region median is greater than parallelOverscanImageThreshold then parallel overscan subtraction will be turned off, as this is usually due to the region being flooded with spillover from a super-saturated flat. (
float, default0.5)
- parallelOverscanImageThreshold#
When the parallel overscan region median is greater than parallelOverscanFraction and the imaging region median is greater than parallelOverscanImageThreshold then parallel overscan subtraction will be turned off, as this is usually due to the region being flooded with spillover from a super-saturated flat. (
float, default10000.0)
- 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)
- parallelOverscanMaskedColumnGrowSize#
When a full column is masked in the parallel overscan (at less than saturation) the mask should be grown by this many pixels. This value is determined from ITL chips in LATISS and LSSTCam. (
int, default2)
- parallelOverscanSaturationLevel#
The saturation level (adu) to use if not specified in call to maskParallelOverscanAmp. This should be low enough to capture all possible amplifiers for defect detection. (
float, default20000.0)
- parallelOverscanSaturationLevelAdjustmentFactor#
The parallel overscan saturation level may be below that of the data region. This factor is applied to the amplifier saturation value when evaluating saturation in the parallel overscan region. (
float, default0.75)
- trailingToSkip#
Number of trailing values to skip in parallel overscan correction. (
int, default0)
Methods Documentation