LSSTApplications
20.0.0
LSSTDataManagementBasePackage
|
Go to the documentation of this file.
24 #ifndef LSST_MEAS_MODELFIT_Sampler_h_INCLUDED
25 #define LSST_MEAS_MODELFIT_Sampler_h_INCLUDED
31 namespace lsst {
namespace meas {
namespace modelfit {
39 ndarray::Array<Scalar const,1,1>
const & parameters,
67 #endif // !LSST_MEAS_MODELFIT_Sampler_h_INCLUDED
ndarray::Array< Pixel, 2,-1 > _modelMatrix
float Pixel
Typedefs to be used for pixel values.
virtual void run(SamplingObjective const &objective, boost::shared_ptr< Mixture > proposal, afw::table::BaseCatalog &samples) const =0
double Scalar
Typedefs to be used for probability and parameter values.
Base class for optimizer/sampler likelihood functions that compute likelihood at a point.
boost::shared_ptr< Likelihood > _likelihood
Base class for all records.
SamplingObjective(boost::shared_ptr< Likelihood > likelihood)
virtual int getParameterDim() const =0
A base class for image defects.
virtual ~SamplingObjective()
virtual Scalar operator()(ndarray::Array< Scalar const, 1, 1 > const ¶meters, afw::table::BaseRecord &sample) const =0