lsst.ip.diffim  16.0-13-g5e87145
Public Member Functions | Public Attributes | List of all members
lsst.ip.diffim.dipoleMeasurement.SourceFlagChecker Class Reference

Functor class to check whether a diaSource has flags set that should cause it to be labeled bad. More...

Inheritance diagram for lsst.ip.diffim.dipoleMeasurement.SourceFlagChecker:

Public Member Functions

def __init__ (self, sources, badFlags=None)
 Constructor. More...
 
def __call__ (self, source)
 Call the source flag checker on a single Source. More...
 

Public Attributes

 badFlags
 
 keys
 

Detailed Description

Functor class to check whether a diaSource has flags set that should cause it to be labeled bad.

Definition at line 305 of file dipoleMeasurement.py.

Constructor & Destructor Documentation

◆ __init__()

def lsst.ip.diffim.dipoleMeasurement.SourceFlagChecker.__init__ (   self,
  sources,
  badFlags = None 
)

Constructor.

Parameters
sourcesSources that will be measured
badFlagsA list of flags that will be used to determine if there was a measurement problem

The list of badFlags will be used to make a list of keys to check for measurement flags on. By default the centroid keys are added to this list

Definition at line 308 of file dipoleMeasurement.py.

Member Function Documentation

◆ __call__()

def lsst.ip.diffim.dipoleMeasurement.SourceFlagChecker.__call__ (   self,
  source 
)

Call the source flag checker on a single Source.

Parameters
sourceSource that will be examined

Definition at line 325 of file dipoleMeasurement.py.

Member Data Documentation

◆ badFlags

lsst.ip.diffim.dipoleMeasurement.SourceFlagChecker.badFlags

Definition at line 317 of file dipoleMeasurement.py.

◆ keys

lsst.ip.diffim.dipoleMeasurement.SourceFlagChecker.keys

Definition at line 322 of file dipoleMeasurement.py.


The documentation for this class was generated from the following file: