SourceXtractorPlusPlus
0.11
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
MoffatModelEvaluator
(
const
MoffatModelFitting
& model);
38
double
getValue
(
double
x
,
double
y
)
const
{
39
return
m_model
->getValue(
x
,
y
);
40
}
41
42
unsigned
getIterations
()
const
{
43
return
m_iterations
;
44
}
45
46
private
:
47
std::shared_ptr<ModelFitting::ExtendedModel<ImageInterfaceTypePtr>
>
m_model
;
48
unsigned
m_iterations
;
49
};
50
51
//ModelFitting::ExtendedModel createMoffatModel();
52
53
}
54
55
#endif
/* _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELEVALUATOR_H_ */
SourceXtractor::MoffatModelEvaluator::getIterations
unsigned getIterations() const
Definition:
MoffatModelEvaluator.h:42
std::shared_ptr
STL class.
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition:
Property.h:33
SourceInterface.h
SourceXtractor::MoffatModelEvaluator::m_model
std::shared_ptr< ModelFitting::ExtendedModel< ImageInterfaceTypePtr > > m_model
Definition:
MoffatModelEvaluator.h:47
SourceXtractor::MoffatModelEvaluator::getValue
double getValue(double x, double y) const
Definition:
MoffatModelEvaluator.h:38
SourceXtractor::MoffatModelEvaluator::MoffatModelEvaluator
MoffatModelEvaluator(const MoffatModelFitting &model)
Definition:
MoffatModelEvaluator.cpp:40
VectorImage.h
SourceXtractor::MoffatModelFitting
Definition:
MoffatModelFitting.h:32
SourceXtractor
Definition:
Aperture.h:30
SourceXtractor::MoffatModelEvaluator
Definition:
MoffatModelEvaluator.h:35
ImageInterfaceTraits.h
MoffatModelFitting.h
SourceXtractor::MoffatModelEvaluator::m_iterations
unsigned m_iterations
Definition:
MoffatModelEvaluator.h:48
ExtendedModel.h
x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
Definition:
MoffatModelFittingTask.cpp:93
y
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
Definition:
MoffatModelFittingTask.cpp:93
Generated by
1.8.18