MeasureDefectsCombinedTaskConfig#

class lsst.cp.pipe.MeasureDefectsCombinedTaskConfig(*args, **kw)#

Bases: MeasureDefectsTaskConfig

Configuration for measuring defects from combined exposures.

Attributes Summary

ampGradientBinFactor

Binning factor used for fitting per-amp focal plane gradient.

ampGradientBoundarySize

Amp boundary exclusion size for fitting per-amp focal plane gradient.

ampGradientNodes

Number of spline nodes for per-amp focal plane gradient.

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).

badPixelsToFillColumnThreshold

If the number of bad pixels in an amplifier column is above this threshold then the full amplifier column will be marked bad.

biasThreshold

If thresholdType==``VALUE``, bias threshold (in ADU) to define hot/bright pixels in bias frame.

connections

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.

doVampirePixels

Search for vampire pixels (bright pixels surrounded by ring of low flux) in ComCam flatBootstrap and mask the area arount them.

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.

e2vMidlineBreakOption

How should the E2V midline break be treated? Only used if e2vMidlineBreakNRow > 0.

fitAmpGradient

Fit out the focal plane radial gradient per amplifier.

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``.

goodPixelColumnGapThreshold

Size, in pixels, of usable consecutive pixels in a column with on and off bad pixels (see 'badOnAndOffPixelColumnThreshold').

nPixBorderLeftRight

Number of pixels to exclude from left & right of image when looking for defects.

nPixBorderUpDown

Number of pixels to exclude from top & bottom of image when looking for defects.

nSigmaBright

If thresholdType=``STDEV``, number of sigma above mean for bright/hot pixel detection.

nSigmaDark

If thresholdType=``STDEV``, number of sigma below mean for dark/cold pixel detection.

radiusVampirePixels

Radius (in pixels) of the area to mask around ComCam flatBootstrap bright pixels.

saturatedColumnDilationRadius

Dilation radius (along rows) to use to expand saturated columns to mitigate glow.

saturatedColumnMask

Saturated mask plane for dilation.

saturatedPixelsToFillColumnThreshold

If the number of saturated pixels in an amplifier column is above this threshold then the full amplifier column will be marked bad.

saveLogOutput

Flag to enable/disable saving of log output for a task, enabled by default.

thresholdType

Defects threshold type: STDEV or VALUE.

thresholdVampirePixels

Pixel value threshold to find bright pixels in ComCam flatBootstrap.

Attributes Documentation

ampGradientBinFactor#

Binning factor used for fitting per-amp focal plane gradient. (int, default 8)

ampGradientBoundarySize#

Amp boundary exclusion size for fitting per-amp focal plane gradient. (int, default 20)

ampGradientNodes#

Number of spline nodes for per-amp focal plane gradient. (int, default 4)

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, default 50)

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, default 1000.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, default 5)

doVampirePixels#

Search for vampire pixels (bright pixels surrounded by ring of low flux) in ComCam flatBootstrap and mask the area arount them. (bool, default False)

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, default 1)

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, default False)

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, default 0.8)

goodPixelColumnGapThreshold#

Size, in pixels, of usable consecutive pixels in a column with on and off bad pixels (see ‘badOnAndOffPixelColumnThreshold’). (int, default 30)

nPixBorderLeftRight#

Number of pixels to exclude from left & right of image when looking for defects. (int, default 0)

nPixBorderUpDown#

Number of pixels to exclude from top & bottom of image when looking for defects. (int, default 0)

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, default 4.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, default 8)

saturatedColumnDilationRadius#

Dilation radius (along rows) to use to expand saturated columns to mitigate glow. (int, default 0)

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, default True)

thresholdType#

Defects threshold type: STDEV or VALUE. If VALUE, cold pixels will be found in flats, and hot pixels in darks. If STDEV, 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, default 1.9)