countMaskedPixels

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

Count the number of pixels in a given mask plane.

Parameters:
maskedImMaskedImage

Masked image to examine.

maskPlanestr

Name of the mask plane to examine.

Returns:
nPixint

Number of pixels in the requested mask plane.