lsst.meas.modelfit  13.0-10-g4e34388+11
Public Types | Public Member Functions | Static Public Member Functions | Static Public Attributes | List of all members
lsst::meas::modelfit::GeneralPsfFitterAlgorithm Class Reference

#include <GeneralPsfFitter.h>

Inheritance diagram for lsst::meas::modelfit::GeneralPsfFitterAlgorithm:
lsst::meas::modelfit::GeneralPsfFitter

Public Types

typedef GeneralPsfFitterControl Control
 

Public Member Functions

 GeneralPsfFitterAlgorithm (GeneralPsfFitterControl const &ctrl, afw::table::Schema &schema, std::string const &prefix)
 
shapelet::MultiShapeletFunctionKey getKey ()
 
void measure (afw::table::SourceRecord &measRecord, afw::image::Image< double > const &image, shapelet::MultiShapeletFunction const &initial) const
 
void measure (afw::table::SourceRecord &measRecord, afw::image::Image< double > const &image, afw::geom::ellipses::Quadrupole const &moments) const
 
void fail (afw::table::SourceRecord &measRecord, lsst::meas::base::MeasurementError *error=nullptr) const
 
- Public Member Functions inherited from lsst::meas::modelfit::GeneralPsfFitter
 GeneralPsfFitter (GeneralPsfFitterControl const &ctrl)
 Initialize the fitter class with the given control object. More...
 
shapelet::MultiShapeletFunctionKey addFields (afw::table::Schema &schema, std::string const &prefix) const
 Add fields to a Schema that can be used to store the MultiShapeletFunction returned by apply(). More...
 
boost::shared_ptr< ModelgetModel () const
 Return the Model object that corresponds to the configuration. More...
 
boost::shared_ptr< PriorgetPrior () const
 Return the Prior object that corresponds to the configuration. More...
 
shapelet::MultiShapeletFunction adapt (shapelet::MultiShapeletFunction const &previousFit, boost::shared_ptr< Model > previousModel) const
 Adapt a differently-configured previous fit to be used as an starting point for this GeneralPsfFitter. More...
 
shapelet::MultiShapeletFunction apply (afw::image::Image< Pixel > const &image, afw::geom::ellipses::Quadrupole const &moments, Scalar noiseSigma=-1, int *pState=nullptr) const
 Perform an initial fit to a PSF image. More...
 
shapelet::MultiShapeletFunction apply (afw::image::Image< double > const &image, afw::geom::ellipses::Quadrupole const &moments, Scalar noiseSigma=-1, int *pState=nullptr) const
 Perform an initial fit to a PSF image. More...
 
shapelet::MultiShapeletFunction apply (afw::image::Image< Pixel > const &image, shapelet::MultiShapeletFunction const &initial, Scalar noiseSigma=-1, int *pState=nullptr) const
 Perform a fit to a PSF image, using a previous fit as a starting point. More...
 
shapelet::MultiShapeletFunction apply (afw::image::Image< double > const &image, shapelet::MultiShapeletFunction const &initial, Scalar noiseSigma=-1, int *pState=nullptr) const
 Perform a fit to a PSF image, using a previous fit as a starting point. More...
 

Static Public Member Functions

static base::FlagDefinitionList const & getFlagDefinitions ()
 

Static Public Attributes

static base::FlagDefinition const FAILURE
 
static base::FlagDefinition const MAX_INNER_ITERATIONS
 
static base::FlagDefinition const MAX_OUTER_ITERATIONS
 
static base::FlagDefinition const EXCEPTION
 
static base::FlagDefinition const CONTAINS_NAN
 

Detailed Description

Definition at line 265 of file GeneralPsfFitter.h.

Member Typedef Documentation

◆ Control

Definition at line 276 of file GeneralPsfFitter.h.

Constructor & Destructor Documentation

◆ GeneralPsfFitterAlgorithm()

lsst::meas::modelfit::GeneralPsfFitterAlgorithm::GeneralPsfFitterAlgorithm ( GeneralPsfFitterControl const &  ctrl,
afw::table::Schema &  schema,
std::string const &  prefix 
)

Member Function Documentation

◆ fail()

void lsst::meas::modelfit::GeneralPsfFitterAlgorithm::fail ( afw::table::SourceRecord &  measRecord,
lsst::meas::base::MeasurementError *  error = nullptr 
) const

◆ getFlagDefinitions()

static base::FlagDefinitionList const& lsst::meas::modelfit::GeneralPsfFitterAlgorithm::getFlagDefinitions ( )
static

◆ getKey()

shapelet::MultiShapeletFunctionKey lsst::meas::modelfit::GeneralPsfFitterAlgorithm::getKey ( )
inline

Definition at line 283 of file GeneralPsfFitter.h.

◆ measure() [1/2]

void lsst::meas::modelfit::GeneralPsfFitterAlgorithm::measure ( afw::table::SourceRecord &  measRecord,
afw::image::Image< double > const &  image,
shapelet::MultiShapeletFunction const &  initial 
) const

◆ measure() [2/2]

void lsst::meas::modelfit::GeneralPsfFitterAlgorithm::measure ( afw::table::SourceRecord &  measRecord,
afw::image::Image< double > const &  image,
afw::geom::ellipses::Quadrupole const &  moments 
) const

Member Data Documentation

◆ CONTAINS_NAN

base::FlagDefinition const lsst::meas::modelfit::GeneralPsfFitterAlgorithm::CONTAINS_NAN
static

Definition at line 274 of file GeneralPsfFitter.h.

◆ EXCEPTION

base::FlagDefinition const lsst::meas::modelfit::GeneralPsfFitterAlgorithm::EXCEPTION
static

Definition at line 273 of file GeneralPsfFitter.h.

◆ FAILURE

base::FlagDefinition const lsst::meas::modelfit::GeneralPsfFitterAlgorithm::FAILURE
static

Definition at line 270 of file GeneralPsfFitter.h.

◆ MAX_INNER_ITERATIONS

base::FlagDefinition const lsst::meas::modelfit::GeneralPsfFitterAlgorithm::MAX_INNER_ITERATIONS
static

Definition at line 271 of file GeneralPsfFitter.h.

◆ MAX_OUTER_ITERATIONS

base::FlagDefinition const lsst::meas::modelfit::GeneralPsfFitterAlgorithm::MAX_OUTER_ITERATIONS
static

Definition at line 272 of file GeneralPsfFitter.h.


The documentation for this class was generated from the following file: