updateVariance

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

Set the variance plane based on the image plane.

Parameters:
maskedImagelsst.afw.image.MaskedImage

Image to process. The variance plane is modified.

gainscalar

The amplifier gain in electrons/ADU.

readNoisescalar

The amplifier read nmoise in ADU/pixel.