LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #include "ndarray/eigen.h"
37 FlagDefinitionList flagDefinitions;
61 measRecord.
set(_instFluxResultKey,
result);
A reusable result struct for instFlux measurements.
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.
void handleFailure(afw::table::BaseRecord &record, MeasurementError const *error=nullptr) const
Handle an expected or unexpected Exception thrown by a measurement algorithm.
Record class that contains measurements made on a single exposure.
Exception to be thrown when a measurement algorithm experiences a known failure mode.
Defines the fields and offsets for a table.
A FunctorKey for FluxResult.
MaskedImageT getMaskedImage()
Return the MaskedImage.
vector-type utility class to build a collection of FlagDefinitions
static FlagDefinitionList const & getFlagDefinitions()
void setValue(afw::table::BaseRecord &record, std::size_t i, bool value) const
Set the flag field corresponding to the given flag index.
UnitVector3d centroid(VertexIterator const begin, VertexIterator const end)
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const
Called to measure a single child source in an image.
GaussianFluxAlgorithm(Control const &ctrl, std::string const &name, afw::table::Schema &schema)
A C++ control class to handle GaussianFluxAlgorithm's configuration.
A base class for image defects.
An ellipse core with quadrupole moments as parameters.
static FlagDefinition const FAILURE
static FluxResult computeFixedMomentsFlux(ImageT const &image, afw::geom::ellipses::Quadrupole const &shape, geom::Point2D const &position)
Compute the instFlux within a fixed Gaussian aperture.
void set(Key< T > const &key, U const &value)
Set value of a field for the given key.
static FlagHandler addFields(afw::table::Schema &schema, std::string const &prefix, FlagDefinitionList const &flagDefs, FlagDefinitionList const &exclDefs=FlagDefinitionList::getEmptyList())
Add Flag fields to a schema, creating a FlagHandler object to manage them.