LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #ifndef LSST_MEAS_MODELFIT_PixelFitRegion_h_INCLUDED
25 #define LSST_MEAS_MODELFIT_PixelFitRegion_h_INCLUDED
34 namespace lsst {
namespace meas {
namespace modelfit {
56 "Use this multiple of the Kron ellipse to set the fit region (for the final fit region, "
57 "subject to the nFitRadiiMin and nFitRadiiMax constraints)."
62 "If the Kron radius is less than this multiple of the PSF width, ignore it and fall back "
63 "to a PSF-oriented ellipse scaled to match the area of the footprint or this radius "
64 "(whichever is larger)."
69 "Grow the initial fit ellipses by this factor before comparing with the Kron/Footprint region"
74 "Use this multiple of the initial fit ellipse then grow by the PSF width "
75 "to determine the minimum final fit region size."
80 "Use this multiple of the initial fit ellipse then grow by the PSF width "
81 "to determine the maximum final fit region size."
86 "Abort if the fit region grows beyond this many pixels."
91 "Mask planes that indicate pixels that should be ignored in the fit."
96 "Maximum fraction of pixels that may be ignored due to masks; "
97 "more than this and we don't even try."
143 #endif // !LSST_MEAS_MODELFIT_PixelFitRegion_h_INCLUDED
int maxArea
"Abort if the fit region grows beyond this many pixels." ;
Represent a 2-dimensional array of bitmask pixels.
afw::geom::ellipses::Quadrupole ellipse
PixelFitRegion(PixelFitRegionControl const &ctrl, afw::geom::ellipses::Quadrupole const &ellipse)
std::vector< std::string > badMaskPlanes
"Mask planes that indicate pixels that should be ignored in the fit." ;
double Scalar
Typedefs to be used for probability and parameter values.
boost::shared_ptr< afw::detection::Footprint > footprint
double nPsfSigmaMin
"If the Kron radius is less than this multiple of the PSF width, ignore it and fall back " "to a PSF-...
double maxBadPixelFraction
"Maximum fraction of pixels that may be ignored due to masks; " "more than this and we don't even try...
PixelFitRegion(PixelFitRegionControl const &ctrl, afw::geom::ellipses::Quadrupole const &moments, afw::geom::ellipses::Quadrupole const &psfMoments, Scalar kronRadius, int footprintArea)
#define LSST_CONTROL_FIELD(NAME, TYPE, DOC)
A preprocessor macro used to define fields in C++ "control object" structs.
double nFitRadiiMax
"Use this multiple of the initial fit ellipse then grow by the PSF width " "to determine the maximum ...
A base class for image defects.
double nPsfSigmaGrow
"Grow the initial fit ellipses by this factor before comparing with the Kron/Footprint region" ;
An ellipse core with quadrupole moments as parameters.
void applyMask(afw::image::Mask<> const &mask, geom::Point2D const ¢er)
double nFitRadiiMin
"Use this multiple of the initial fit ellipse then grow by the PSF width " "to determine the minimum ...
double nKronRadii
"Use this multiple of the Kron ellipse to set the fit region (for the final fit region,...
bool applyEllipse(afw::geom::ellipses::Quadrupole const &deconvolved, afw::geom::ellipses::Quadrupole const &psfMoments)