24 #ifndef LSST_MEAS_BASE_Blendedness_h_INCLUDED 25 #define LSST_MEAS_BASE_Blendedness_h_INCLUDED 35 namespace lsst {
namespace meas {
namespace base {
41 "Whether to compute HeavyFootprint dot products (the old deblend.blendedness parameter)" 46 "Whether to compute quantities related to the Gaussian-weighted flux" 51 "Whether to compute quantities related to the Gaussian-weighted shape" 56 "Radius factor that sets the maximum extent of the weight function (and hence the flux measurements)" 106 static float computeAbsExpectation(
float data,
float variance);
123 static float computeAbsBias(
float mu,
float variance);
125 void measureChildPixels(
130 void measureParentPixels(
148 void _measureMoments(
174 #endif // LSST_MEAS_BASE_Blendedness_h_INCLUDED
static FlagDefinition const NO_CENTROID
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...
Exception to be thrown when a measurement algorithm experiences a known failure mode.
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
static FlagDefinition const FAILURE
A FunctorKey for ShapeResult.
Utility class for handling flag fields that indicate the failure modes of an algorithm.
static FlagDefinition const NO_SHAPE
double nSigmaWeightMax
"Radius factor that sets the maximum extent of the weight function (and hence the flux measurements)"...
bool doShape
"Whether to compute quantities related to the Gaussian-weighted shape" ;
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const
Called to measure a single child source in an image.
An abstract base classes for which the same implementation can be used for both SingleFrameAlgorithm ...
BlendednessControl Control
vector-type utility class to build a collection of FlagDefinitions
bool doFlux
"Whether to compute quantities related to the Gaussian-weighted flux" ;
bool doOld
"Whether to compute HeavyFootprint dot products (the old deblend.blendedness parameter)" ; ...
Compute metrics that measure how blended objects are.