lsst.meas.base  13.0-16-gca4cc00
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
Functions | Variables
lsst.meas.base.flagDecorator Namespace Reference

Functions

def addFlagHandler
 

Variables

 flagHandler
 

Function Documentation

def lsst.meas.base.flagDecorator.addFlagHandler (   args)
Class decorator to create a flag handler for a plugin. Adds the class variables FLAGDEFS and
ErrEnum. An instance variable flagHandler is added to the __init__ function to be created at
initialization. The arguments to this function are tuples which have the name of the failure
as the first element, and the documentation for the failure as the second element.

Usage:
@addFlagHandler(("name_of_failure", "Doc for failure), ("name_of_second_faiure", "Doc of"
                " second failure"), .....)

Definition at line 4 of file flagDecorator.py.

Variable Documentation

lsst.meas.base.flagDecorator.flagHandler

Definition at line 35 of file flagDecorator.py.