countMaskedPixels

lsst.cp.pipe.utils.countMaskedPixels(maskedIm, maskPlane)

Count the number of pixels in a given mask plane.

Parameters:
maskedIm : MaskedImage

Masked image to examine.

maskPlane : str

Name of the mask plane to examine.

Returns:
nPix : int

Number of pixels in the requested mask plane.