lsst.meas.algorithms g1581cd22ba+b2e7114e3e
Loading...
Searching...
No Matches
lsst.meas.algorithms.dynamicDetection Namespace Reference

Classes

class  DynamicDetectionConfig
 
class  DynamicDetectionTask
 
class  InsufficientSourcesError
 
class  ZeroFootprintError
 

Functions

 countMaskedPixels (maskedIm, maskPlane)
 

Function Documentation

◆ countMaskedPixels()

lsst.meas.algorithms.dynamicDetection.countMaskedPixels ( maskedIm,
maskPlane )
Count the number of pixels in a given mask plane.

Parameters
----------
maskedIm : `lsst.afw.image.MaskedImage`
    Masked image to examine.
maskPlane : `str`
    Name of the mask plane to examine.

Returns
-------
nPixMasked : `int`
    Number of pixels with ``maskPlane`` bit set.

Definition at line 748 of file dynamicDetection.py.