SourceXtractorPlusPlus
0.13
Please provide a description of the project.
ModelFitting
ModelFitting
Models
ModelComponent.h
Go to the documentation of this file.
1
23
#ifndef MODELFITTING_MODELCOMPONENT_H
24
#define MODELFITTING_MODELCOMPONENT_H
25
26
#include <vector>
27
#include <tuple>
28
#include <memory>
29
#include <utility>
30
31
namespace
ModelFitting
{
32
37
class
ModelComponent
{
38
39
public
:
40
41
/***
42
* Defines a sample: X coordinate, Y coordinate, and Value at those coordinates
43
*/
44
using
ModelSample
=
std::tuple<double, double, double>
;
45
49
virtual
~ModelComponent
() =
default
;
50
54
virtual
double
getValue
(
double
x
,
double
y
) = 0;
55
61
virtual
void
updateRasterizationInfo
(
double
scale,
double
r_max) = 0;
62
70
virtual
std::vector<ModelSample>
getSharpSampling
() = 0;
71
75
virtual
bool
insideSharpRegion
(
double
x
,
double
y
) = 0;
76
77
};
// end of class ModelComponent
78
79
}
// end of namespace ModelFitting
80
81
#endif
/* MODELFITTING_MODELCOMPONENT_H */
82
std::vector
STL class.
std::tuple
ModelFitting::ModelComponent
Definition:
ModelComponent.h:37
ModelFitting::ModelComponent::getValue
virtual double getValue(double x, double y)=0
ModelFitting::ModelComponent::getSharpSampling
virtual std::vector< ModelSample > getSharpSampling()=0
ModelFitting::ModelComponent::~ModelComponent
virtual ~ModelComponent()=default
ModelFitting::ModelComponent::insideSharpRegion
virtual bool insideSharpRegion(double x, double y)=0
ModelFitting::ModelComponent::updateRasterizationInfo
virtual void updateRasterizationInfo(double scale, double r_max)=0
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
ModelFitting
Definition:
AsinhChiSquareComparator.h:30
Generated by
1.8.20