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.
- threshold : scalar
Detection threshold.
- growFootprints : scalar, optional
Number of pixels to grow footprints of detected regions.
- maskName : str, optional
Mask plane name, or list of names to convert
Returns: - defectList :
lsst.meas.algorithms.Defects
Defect list constructed from pixels above the threshold.
- maskedImage :