SourceXtractorPlusPlus
0.16
Please provide a description of the project.
SEImplementation
SEImplementation
Plugin
MoffatModelFitting
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
27
#include "
ModelFitting/Models/ExtendedModel.h
"
28
#include "
SEFramework/Source/SourceInterface.h
"
29
#include "
SEFramework/Image/VectorImage.h
"
30
#include "
SEImplementation/Image/ImageInterfaceTraits.h
"
31
#include "
SEImplementation/Plugin/MoffatModelFitting/MoffatModelFitting.h
"
32
33
namespace
SourceXtractor
{
34
35
class
MoffatModelEvaluator
:
public
Property
{
36
public
:
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
47
private
:
48
std::shared_ptr<ModelFitting::ExtendedModel<ImageInterfaceTypePtr>
>
m_model
;
49
unsigned
m_iterations
;
50
};
51
52
//ModelFitting::ExtendedModel createMoffatModel();
53
54
}
55
56
#endif
/* _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELEVALUATOR_H_ */
ExtendedModel.h
ImageInterfaceTraits.h
x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
Definition:
MoffatModelFittingTask.cpp:94
y
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
Definition:
MoffatModelFittingTask.cpp:94
MoffatModelFitting.h
SourceInterface.h
VectorImage.h
SourceXtractor::MoffatModelEvaluator
Definition:
MoffatModelEvaluator.h:35
SourceXtractor::MoffatModelEvaluator::MoffatModelEvaluator
MoffatModelEvaluator(const MoffatModelFitting &model)
Definition:
MoffatModelEvaluator.cpp:40
SourceXtractor::MoffatModelEvaluator::m_model
std::shared_ptr< ModelFitting::ExtendedModel< ImageInterfaceTypePtr > > m_model
Definition:
MoffatModelEvaluator.h:48
SourceXtractor::MoffatModelEvaluator::getIterations
unsigned getIterations() const
Definition:
MoffatModelEvaluator.h:43
SourceXtractor::MoffatModelEvaluator::m_iterations
unsigned m_iterations
Definition:
MoffatModelEvaluator.h:49
SourceXtractor::MoffatModelEvaluator::getValue
double getValue(double x, double y) const
Definition:
MoffatModelEvaluator.h:39
SourceXtractor::MoffatModelFitting
Definition:
MoffatModelFitting.h:32
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
SourceXtractor
Definition:
Aperture.h:30
std::shared_ptr
Generated by
1.9.1