lsst.meas.base
20.0.0-6-gdef485e+daef151ab3
|
Go to the documentation of this file.
25 #ifndef LSST_MEAS_BASE_Blendedness_h_INCLUDED
26 #define LSST_MEAS_BASE_Blendedness_h_INCLUDED
28 #include "lsst/pex/config.h"
44 "Whether to compute HeavyFootprint dot products (the old deblend.blendedness parameter)");
46 LSST_CONTROL_FIELD(
doFlux,
bool,
"Whether to compute quantities related to the Gaussian-weighted flux");
48 LSST_CONTROL_FIELD(
doShape,
bool,
"Whether to compute quantities related to the Gaussian-weighted shape");
51 "Radius factor that sets the maximum extent of the weight function (and hence the "
52 "flux measurements)");
150 #endif // LSST_MEAS_BASE_Blendedness_h_INCLUDED
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
static FlagDefinition const FAILURE
Compute metrics that measure how blended objects are.
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const
Called to measure a single child source in an image.
void measureChildPixels(afw::image::MaskedImage< float > const &image, afw::table::SourceRecord &child) const
Exception to be thrown when a measurement algorithm experiences a known failure mode.
A FunctorKey for ShapeResult.
BlendednessAlgorithm(Control const &ctrl, std::string const &name, afw::table::Schema &schema)
bool doOld
"Whether to compute HeavyFootprint dot products (the old deblend.blendedness parameter)" ;
BlendednessControl Control
vector-type utility class to build a collection of FlagDefinitions
void measureParentPixels(afw::image::MaskedImage< float > const &image, afw::table::SourceRecord &child) const
static float computeAbsBias(float mu, float variance)
Compute the bias induced by using the absolute value of a pixel instead of its value.
static FlagDefinitionList const & getFlagDefinitions()
bool doFlux
"Whether to compute quantities related to the Gaussian-weighted flux" ;
Utility class for handling flag fields that indicate the failure modes of an algorithm.
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.
Simple class used to define and document flags The name and doc constitute the identity of the FlagDe...
static FlagDefinition const NO_CENTROID
double nSigmaWeightMax
"Radius factor that sets the maximum extent of the weight function (and hence the " "flux measurement...
bool doShape
"Whether to compute quantities related to the Gaussian-weighted shape" ;
static FlagDefinition const NO_SHAPE
static float computeAbsExpectation(float data, float variance)
Compute the posterior expectation value of the true instrumental flux in a pixel from its (Gaussian) ...