countMaskedPixels

lsst.ip.isr.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.