24 #ifndef LSST_MEAS_BASE_GaussianCentroid_h_INCLUDED
25 #define LSST_MEAS_BASE_GaussianCentroid_h_INCLUDED
34 namespace lsst {
namespace meas {
namespace base {
54 FittedModel(
int status_, std::vector<double> params_,
int iter_=0,
double flamd_=0,
double chnew_=0) :
105 template<
typename PixelT>
139 #endif // !LSST_MEAS_BASE_GaussianCentroid_h_INCLUDED
Defines the fields and offsets for a table.
GaussianCentroidAlgorithm(Control const &ctrl, std::string const &name, afw::table::Schema &schema)
A coordinate class intended to represent absolute positions.
table::Key< std::string > name
virtual void fail(afw::table::SourceRecord &measRecord, MeasurementError *error=NULL) const
GaussianCentroidControl()
Default constructor.
A mapping between the keys of two Schemas, used to copy data between them.
static afw::geom::Point2D fitCentroid(afw::image::Image< PixelT > const &im, double x0, double y0)
x0, y0 is an initial guess for position, column
Exception to be thrown when a measurement algorithm experiences a known failure mode.
A class that calculates a centroid by fitting a circular Gaussian to the image.
std::vector< double > params
A C++ control class to handle GaussianCentroidAlgorithm's configuration.
FittedModel(int status_, std::vector< double > params_, int iter_=0, double flamd_=0, double chnew_=0)
GaussianCentroidControl Control
virtual void measure(afw::table::SourceRecord &measRecord, afw::image::Exposure< float > const &exposure) const
A FunctorKey for CentroidResult.
Record class that contains measurements made on a single exposure.
CentroidResultKey _centroidKey
SafeCentroidExtractor _centroidExtractor