makeThresholdMask¶
- lsst.ip.isr.makeThresholdMask(maskedImage, threshold, growFootprints=1, maskName='SAT')¶
Mask pixels based on threshold detection.
- Parameters:
- maskedImage
lsst.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
- maskedImage
- Returns:
- defectList
lsst.meas.algorithms.Defects
Defect list constructed from pixels above the threshold.
- defectList