growMasks

lsst.ip.isr.growMasks(mask, radius=0, maskNameList=['BAD'], maskValue='BAD')

Grow a mask by an amount and add to the requested plane.

Parameters:
mask : lsst.afw.image.Mask

Mask image to process.

radius : scalar

Amount to grow the mask.

maskNameList : str or list [str]

Mask names that should be grown.

maskValue : str

Mask plane to assign the newly masked pixels to.