updateVariance

lsst.ip.isr.updateVariance(maskedImage, gain, readNoise)

Set the variance plane based on the image plane.

Parameters:
maskedImage : lsst.afw.image.MaskedImage

Image to process. The variance plane is modified.

gain : scalar

The amplifier gain in electrons/ADU.

readNoise : scalar

The amplifier read nmoise in ADU/pixel.