Function to count the number of pixels with a specific mask in a
footprint.
Find the intersection of mask & footprint. Count all pixels in the mask
that are in the intersection that have bitmask set but do not have
ignoreMask set. Return the count.
Parameters
----------
mask : `lsst.afw.image.Mask`
Mask to define intersection region by.
footprint : `lsst.afw.detection.Footprint`
Footprint to define the intersection region by.
bitmask
Specific mask that we wish to count the number of occurances of.
ignoreMask
Pixels to not consider.
Returns
-------
result : `int`
Count of number of pixels in footprint with specified mask.
Definition at line 1182 of file assembleCoadd.py.