lsst.pipe.tasks  13.0-66-gfbf2f2ce+5
Classes | Functions
lsst.pipe.tasks.assembleCoadd Namespace Reference

Classes

class  AssembleCoaddConfig
 Configuration parameters for the AssembleCoaddTask. More...
 
class  AssembleCoaddDataIdContainer
 A version of lsst.pipe.base.DataIdContainer specialized for assembleCoadd. More...
 
class  AssembleCoaddTask
 Assemble a coadded image from a set of warps (coadded temporary exposures). More...
 
class  CompareWarpAssembleCoaddConfig
 
class  CompareWarpAssembleCoaddTask
 Assemble a compareWarp coadded image from a set of warps by masking artifacts detected by comparing PSF-matched warps. More...
 
class  SafeClipAssembleCoaddConfig
 Configuration parameters for the SafeClipAssembleCoaddTask. More...
 
class  SafeClipAssembleCoaddTask
 Assemble a coadded image from a set of coadded temporary exposures, being careful to clip & flag areas with potential artifacts. More...
 

Functions

def countMaskFromFootprint (mask, footprint, bitmask, ignoreMask)
 Function to count the number of pixels with a specific mask in a footprint. More...
 

Function Documentation

◆ countMaskFromFootprint()

def lsst.pipe.tasks.assembleCoadd.countMaskFromFootprint (   mask,
  footprint,
  bitmask,
  ignoreMask 
)

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
[in]maskmask to define intersection region by. [in] footprint: footprint to define the intersection region by.
[in]bitmaskspecific mask that we wish to count the number of occurances of.
[in]ignoreMaskpixels to not consider.
Returns
count of number of pixels in footprint with specified mask.

Definition at line 959 of file assembleCoadd.py.