MeasureDefectsCombinedTaskConfig#
- class lsst.cp.pipe.MeasureDefectsCombinedTaskConfig(*args, **kw)#
Bases:
MeasureDefectsTaskConfigConfiguration for measuring defects from combined exposures.
Attributes Summary
Binning factor used for fitting per-amp focal plane gradient.
Amp boundary exclusion size for fitting per-amp focal plane gradient.
Number of spline nodes for per-amp focal plane gradient.
If BPC is the set of all the bad pixels in a given column (not necessarily consecutive) and the size of BPC is at least 'badOnAndOffPixelColumnThreshold', all the pixels between the pixels that satisfy minY (BPC) and maxY (BPC) will be marked as bad, with 'Y' being the long axis of the amplifier (and 'X' the other axis, which for a column is a constant for all pixels in the set BPC).
If the number of bad pixels in an amplifier column is above this threshold then the full amplifier column will be marked bad.
If thresholdType==``VALUE``, bias threshold (in ADU) to define hot/bright pixels in bias frame.
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
If thresholdType=``VALUE``, dark current threshold (in e-/sec) to define hot/bright pixels in dark images.
Search for vampire pixels (bright pixels surrounded by ring of low flux) in ComCam flatBootstrap and mask the area arount them.
E2V midline break number of midline break rows at the bottom of the top amps or the top of the bottom amps to always mask or ignore.
How should the E2V midline break be treated? Only used if e2vMidlineBreakNRow > 0.
Fit out the focal plane radial gradient per amplifier.
If thresholdType=``VALUE``, fractional threshold to define cold/dark pixels in flat images (fraction of the mean value per amplifier).Unused if thresholdType==``STDEV``.
Size, in pixels, of usable consecutive pixels in a column with on and off bad pixels (see 'badOnAndOffPixelColumnThreshold').
Number of pixels to exclude from left & right of image when looking for defects.
Number of pixels to exclude from top & bottom of image when looking for defects.
If thresholdType=``STDEV``, number of sigma above mean for bright/hot pixel detection.
If thresholdType=``STDEV``, number of sigma below mean for dark/cold pixel detection.
Radius (in pixels) of the area to mask around ComCam flatBootstrap bright pixels.
Dilation radius (along rows) to use to expand saturated columns to mitigate glow.
Saturated mask plane for dilation.
If the number of saturated pixels in an amplifier column is above this threshold then the full amplifier column will be marked bad.
Flag to enable/disable saving of log output for a task, enabled by default.
Defects threshold type:
STDEVorVALUE.Pixel value threshold to find bright pixels in ComCam flatBootstrap.
Attributes Documentation
- ampGradientBinFactor#
Binning factor used for fitting per-amp focal plane gradient. (
int, default8)
- ampGradientBoundarySize#
Amp boundary exclusion size for fitting per-amp focal plane gradient. (
int, default20)
- ampGradientNodes#
Number of spline nodes for per-amp focal plane gradient. (
int, default4)
- badOnAndOffPixelColumnThreshold#
If BPC is the set of all the bad pixels in a given column (not necessarily consecutive) and the size of BPC is at least ‘badOnAndOffPixelColumnThreshold’, all the pixels between the pixels that satisfy minY (BPC) and maxY (BPC) will be marked as bad, with ‘Y’ being the long axis of the amplifier (and ‘X’ the other axis, which for a column is a constant for all pixels in the set BPC). If there are more than ‘goodPixelColumnGapThreshold’ consecutive non-bad pixels in BPC, an exception to the above is made and those consecutive ‘goodPixelColumnGapThreshold’ are not marked as bad. (
int, default50)
- badPixelsToFillColumnThreshold#
If the number of bad pixels in an amplifier column is above this threshold then the full amplifier column will be marked bad. This operation is performed after any merging of blinking columns performed with badOnAndOffPixelColumnThreshold. If thisvalue is less than 0 then no bad column filling will be performed. (
float, default-1)
- biasThreshold#
If thresholdType==``VALUE``, bias threshold (in ADU) to define hot/bright pixels in bias frame. Unused if thresholdType==``STDEV``. (
float, default1000.0)
- connections: pexConfig.ConfigField#
Field which refers to a dynamically added configuration class which is based on a PipelineTaskConnections class.
- darkCurrentThreshold#
If thresholdType=``VALUE``, dark current threshold (in e-/sec) to define hot/bright pixels in dark images. Unused if thresholdType==``STDEV``. (
float, default5)
- doVampirePixels#
Search for vampire pixels (bright pixels surrounded by ring of low flux) in ComCam flatBootstrap and mask the area arount them. (
bool, defaultFalse)
- e2vMidlineBreakNRow#
E2V midline break number of midline break rows at the bottom of the top amps or the top of the bottom amps to always mask or ignore. Number of rows will be twice this config value. Only used if detector is E2V type. Set to <=0 to treat E2V midline break rows like any other flat-field pixel. (
int, default1)
- e2vMidlineBreakOption#
How should the E2V midline break be treated? Only used if e2vMidlineBreakNRow > 0. (
str, default'NEVERMASK')Allowed values:
'NEVERMASK'Never mask the E2V midline break, no matter the flat values.
'MASK'Always mask the E2V midline break.
'None'Field is optional
- fitAmpGradient#
Fit out the focal plane radial gradient per amplifier. (
bool, defaultFalse)
- fracThresholdFlat#
If thresholdType=``VALUE``, fractional threshold to define cold/dark pixels in flat images (fraction of the mean value per amplifier).Unused if thresholdType==``STDEV``. (
float, default0.8)
- goodPixelColumnGapThreshold#
Size, in pixels, of usable consecutive pixels in a column with on and off bad pixels (see ‘badOnAndOffPixelColumnThreshold’). (
int, default30)
- nPixBorderLeftRight#
Number of pixels to exclude from left & right of image when looking for defects. (
int, default0)
- nPixBorderUpDown#
Number of pixels to exclude from top & bottom of image when looking for defects. (
int, default0)
- nSigmaBright#
If thresholdType=``STDEV``, number of sigma above mean for bright/hot pixel detection. The default value was found to be appropriate for some LSST sensors in DM-17490. Unused if thresholdType==``VALUE`` (
float, default4.8)
- nSigmaDark#
If thresholdType=``STDEV``, number of sigma below mean for dark/cold pixel detection. The default value was found to be appropriate for some LSST sensors in DM-17490. Unused if thresholdType==``VALUE`` (
float, default-5.0)
- radiusVampirePixels#
Radius (in pixels) of the area to mask around ComCam flatBootstrap bright pixels. (
int, default8)
- saturatedColumnDilationRadius#
Dilation radius (along rows) to use to expand saturated columns to mitigate glow. (
int, default0)
- saturatedColumnMask#
Saturated mask plane for dilation. (
str, default'SAT')
- saturatedPixelsToFillColumnThreshold#
If the number of saturated pixels in an amplifier column is above this threshold then the full amplifier column will be marked bad. If this value is less than 0then no saturated column filling will be performed. (
int, default-1)
- saveLogOutput#
Flag to enable/disable saving of log output for a task, enabled by default. (
bool, defaultTrue)
- thresholdType#
Defects threshold type:
STDEVorVALUE. IfVALUE, cold pixels will be found in flats, and hot pixels in darks. IfSTDEV, cold and hot pixels will be found in flats, and hot pixels in darks. (str, default'STDEV')Allowed values:
'STDEV'Use a multiple of the image standard deviation to determine detection threshold.
'VALUE'Use pixel value to determine detection threshold.
'None'Field is optional
- thresholdVampirePixels#
Pixel value threshold to find bright pixels in ComCam flatBootstrap. (
float, default1.9)