LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
25 #ifndef LSST_MEAS_BASE_Blendedness_h_INCLUDED
26 #define LSST_MEAS_BASE_Blendedness_h_INCLUDED
44 "Whether to compute HeavyFootprint dot products (the old deblend.blendedness parameter)");
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
Backwards-compatibility support for depersisting the old Calib (FluxMag0/FluxMag0Err) objects.
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.
Record class that contains measurements made on a single exposure.
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.
Defines the fields and offsets for a table.
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()
A class to manipulate images, masks, and variance as a single object.
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.
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
A preprocessor macro used to define fields in C++ "control object" structs.
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.
A base class for image defects.
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) ...