SourceXtractorPlusPlus  0.12
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FlexibleModelFittingPrior.h
Go to the documentation of this file.
1 
17 /*
18  * FlexibleModelFittingPrior.h
19  *
20  * Created on: 2018 M11 16
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_FLEXIBLEMODELFITTING_FLEXIBLEMODELFITTINGPRIOR_H_
25 #define _SEIMPLEMENTATION_PLUGIN_FLEXIBLEMODELFITTING_FLEXIBLEMODELFITTINGPRIOR_H_
26 
27 #include <functional>
28 
30 
31 namespace ModelFitting {
32  class ResidualEstimator;
33 }
34 
35 namespace SourceXtractor {
36 
38 public:
40 
42  ValueFunc expected_value, ValueFunc standard_deviation)
43  : m_parameter(parameter), m_expected_value(expected_value), m_standard_deviation(standard_deviation) {}
44 
46 
47  void setupPrior(
48  FlexibleModelFittingParameterManager& parameter_manager, const SourceInterface& source,
49  ModelFitting::ResidualEstimator& residual_estimator) const;
50 
51 private:
55 };
56 
57 }
58 
59 
60 #endif /* _SEIMPLEMENTATION_PLUGIN_FLEXIBLEMODELFITTING_FLEXIBLEMODELFITTINGPRIOR_H_ */
void setupPrior(FlexibleModelFittingParameterManager &parameter_manager, const SourceInterface &source, ModelFitting::ResidualEstimator &residual_estimator) const
FlexibleModelFittingPrior(std::shared_ptr< FlexibleModelFittingParameter > parameter, ValueFunc expected_value, ValueFunc standard_deviation)
std::shared_ptr< FlexibleModelFittingParameter > m_parameter
Provides to the LeastSquareEngine the residual values.
The SourceInterface is an abstract &quot;source&quot; that has properties attached to it.