FlagHandler¶
-
class
lsst.meas.base.
FlagHandler
¶ Bases:
pybind11_builtins.pybind11_object
Methods Summary
addFields
(schema, prefix, flagDefs, exclDefs)getFailureFlagName
()getFailureFlagNumber
(self)getFlagName
(self, i)getFlagNumber
(self, flagName)getValue
(*args, **kwargs)Overloaded function. handleFailure
(self, record, error)setValue
(*args, **kwargs)Overloaded function. Methods Documentation
-
addFields
(schema: lsst.afw.table.schema.schema.Schema, prefix: str, flagDefs: lsst.meas.base.flagHandler.FlagDefinitionList, exclDefs: lsst.meas.base.flagHandler.FlagDefinitionList=<lsst.meas.base.flagHandler.FlagDefinitionList object at 0x7f7cff081df8>) → lsst.meas.base.flagHandler.FlagHandler¶
-
getFailureFlagName
() → str¶
-
getFailureFlagNumber
(self: lsst.meas.base.flagHandler.FlagHandler) → int¶
-
getFlagName
(self: lsst.meas.base.flagHandler.FlagHandler, i: int) → str¶
-
getFlagNumber
(self: lsst.meas.base.flagHandler.FlagHandler, flagName: str) → int¶
-
getValue
(*args, **kwargs)¶ Overloaded function.
- getValue(self: lsst.meas.base.flagHandler.FlagHandler, record: lsst.afw.table.base.base.BaseRecord, i: int) -> bool
- getValue(self: lsst.meas.base.flagHandler.FlagHandler, record: lsst.afw.table.base.base.BaseRecord, flagName: str) -> bool
-
handleFailure
(self: lsst.meas.base.flagHandler.FlagHandler, record: lsst.afw.table.base.base.BaseRecord, error: lsst::meas::base::MeasurementError=None) → None¶
-
setValue
(*args, **kwargs)¶ Overloaded function.
- setValue(self: lsst.meas.base.flagHandler.FlagHandler, record: lsst.afw.table.base.base.BaseRecord, i: int, value: bool) -> None
- setValue(self: lsst.meas.base.flagHandler.FlagHandler, record: lsst.afw.table.base.base.BaseRecord, flagName: str, value: bool) -> None
-