SourceXtractorPlusPlus 0.21
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
MoffatModelEvaluator.h
Go to the documentation of this file.
1
17/*
18 * MoffatModelFittingUtils.h
19 *
20 * Created on: 2019 M02 20
21 * Author: mschefer
22 */
23
24#ifndef _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELEVALUATOR_H_
25#define _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELEVALUATOR_H_
26
32
33namespace SourceXtractor {
34
36public:
37 explicit MoffatModelEvaluator(const MoffatModelFitting& model);
38
39 double getValue(double x, double y) const {
40 return m_model->getValue(x, y);
41 }
42
43 unsigned getIterations() const {
44 return m_iterations;
45 }
46
47private:
49 unsigned m_iterations;
50};
51
52//ModelFitting::ExtendedModel createMoffatModel();
53
54}
55
56#endif /* _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELEVALUATOR_H_ */
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
MoffatModelEvaluator(const MoffatModelFitting &model)
std::shared_ptr< ModelFitting::ExtendedModel< ImageInterfaceTypePtr > > m_model
double getValue(double x, double y) const
Base class for all Properties. (has no actual content)
Definition Property.h:33