LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #ifndef LSST_MEAS_BASE_LocalBackground_h_INCLUDED
25 #define LSST_MEAS_BASE_LocalBackground_h_INCLUDED
43 "Mask planes that indicate pixels that should be excluded from the measurement");
45 "Inner radius for background annulus as a multiple of the PSF sigma");
47 "Outer radius for background annulus as a multiple of the PSF sigma");
49 "Rejection threshold (in standard deviations) for background measurement");
100 #endif // !LSST_MEAS_BASE_LocalBackground_h_INCLUDED
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
static FlagDefinition const NO_GOOD_PIXELS
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const
Called to measure a single child source in an image.
Record class that contains measurements made on a single exposure.
std::vector< std::string > badMaskPlanes
"Mask planes that indicate pixels that should be excluded from the measurement" ;
LocalBackgroundAlgorithm(Control const &ctrl, std::string const &name, afw::table::Schema &schema, std::string const &logName="")
float bgRej
"Rejection threshold (in standard deviations) for background measurement" ;
static FlagDefinitionList const & getFlagDefinitions()
Exception to be thrown when a measurement algorithm experiences a known failure mode.
static FlagDefinition const FAILURE
Defines the fields and offsets for a table.
A FunctorKey for FluxResult.
vector-type utility class to build a collection of FlagDefinitions
Utility class for handling flag fields that indicate the failure modes of an algorithm.
A mapping between the keys of two Schemas, used to copy data between them.
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
A preprocessor macro used to define fields in C++ "control object" structs.
A base class for image defects.
Pass parameters to a Statistics object.
Simple class used to define and document flags The name and doc constitute the identity of the FlagDe...
A measurement algorithm that estimates the local background value per pixel.
static FlagDefinition const NO_PSF
Configuration of LocalBackgroundAlgorithm.
LocalBackgroundControl Control
float annulusOuter
"Outer radius for background annulus as a multiple of the PSF sigma" ;
virtual void fail(afw::table::SourceRecord &measRecord, MeasurementError *error=nullptr) const
Handle an exception thrown by the current algorithm by setting flags in the given record.
float annulusInner
"Inner radius for background annulus as a multiple of the PSF sigma" ;
int bgIter
"Number of sigma-clipping iterations for background measurement" ;