makeThresholdMask

lsst.ip.isr.makeThresholdMask(maskedImage, threshold, growFootprints=1, maskName='SAT')

Mask pixels based on threshold detection.

Parameters:
maskedImagelsst.afw.image.MaskedImage

Image to process. Only the mask plane is updated.

thresholdscalar

Detection threshold.

growFootprintsscalar, optional

Number of pixels to grow footprints of detected regions.

maskNamestr, optional

Mask plane name, or list of names to convert

Returns:
defectListlsst.meas.algorithms.Defects

Defect list constructed from pixels above the threshold.