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