SourceXtractorPlusPlus  0.11
Please provide a description of the project.
MoffatModelFitting.h
Go to the documentation of this file.
1 
17 /*
18  * MoffatModelFitting.h
19  *
20  * Created on: May 2, 2017
21  * Author: mschefer
22  */
23 
24 #ifndef _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTING_H_
25 #define _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTING_H_
26 
27 #include "SEUtils/Types.h"
29 
30 namespace SourceXtractor {
31 
32 class MoffatModelFitting : public Property {
33 public:
34 
35  virtual ~MoffatModelFitting() = default;
36 
38  SeFloat x,
39  SeFloat y,
43  SeFloat top_offset,
44  SeFloat size,
45  SeFloat x_scale,
46  SeFloat y_scale,
48  unsigned int iterations) :
49  m_x(x),
50  m_y(y),
54  m_top_offset(top_offset),
55  m_size(size),
56  m_x_scale(x_scale),
57  m_y_scale(y_scale),
59  m_iterations(iterations) {}
60 
61  SeFloat getX() const {
62  return m_x;
63  }
64 
65  SeFloat getY() const {
66  return m_y;
67  }
68 
69  SeFloat getMoffatI0() const {
70  return m_moffat_i0;
71  }
72 
74  return m_moffat_index;
75  }
76 
78  return m_minkowski_exponent;
79  }
80 
82  return m_top_offset;
83  }
84 
85  SeFloat getSize() const {
86  return m_size;
87  }
88 
89  SeFloat getXScale() const {
90  return m_x_scale;
91  }
92 
93  SeFloat getYScale() const {
94  return m_y_scale;
95  }
96 
98  return m_moffat_rotation;
99  }
100 
101  unsigned int getIterations() const {
102  return m_iterations;
103  }
104 
105 private:
115 
116  unsigned int m_iterations;
117 };
118 
119 }
120 
121 #endif /* _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTING_H_ */
SourceXtractor::MoffatModelFitting::m_moffat_i0
SeFloat m_moffat_i0
Definition: MoffatModelFitting.h:107
moffat_index
std::shared_ptr< EngineParameter > moffat_index
Definition: MoffatModelFittingTask.cpp:96
SourceXtractor::Property
Base class for all Properties. (has no actual content)
Definition: Property.h:33
SourceXtractor::MoffatModelFitting::~MoffatModelFitting
virtual ~MoffatModelFitting()=default
Types.h
SourceXtractor::MoffatModelFitting::MoffatModelFitting
MoffatModelFitting(SeFloat x, SeFloat y, SeFloat moffat_i0, SeFloat moffat_index, SeFloat minkowski_exponent, SeFloat top_offset, SeFloat size, SeFloat x_scale, SeFloat y_scale, SeFloat moffat_rotation, unsigned int iterations)
Definition: MoffatModelFitting.h:37
SourceXtractor::MoffatModelFitting::getMinkowksiExponent
SeFloat getMinkowksiExponent() const
Definition: MoffatModelFitting.h:77
SourceXtractor::SeFloat
SeFloat32 SeFloat
Definition: Types.h:32
SourceXtractor::MoffatModelFitting::getTopOffset
SeFloat getTopOffset() const
Definition: MoffatModelFitting.h:81
SourceXtractor::MoffatModelFitting::getX
SeFloat getX() const
Definition: MoffatModelFitting.h:61
SourceXtractor::MoffatModelFitting::getYScale
SeFloat getYScale() const
Definition: MoffatModelFitting.h:93
SourceXtractor::MoffatModelFitting::m_minkowski_exponent
SeFloat m_minkowski_exponent
Definition: MoffatModelFitting.h:109
SourceXtractor::MoffatModelFitting::getMoffatRotation
SeFloat getMoffatRotation() const
Definition: MoffatModelFitting.h:97
SourceXtractor::MoffatModelFitting
Definition: MoffatModelFitting.h:32
SourceXtractor::MoffatModelFitting::m_x_scale
SeFloat m_x_scale
Definition: MoffatModelFitting.h:112
SourceXtractor::MoffatModelFitting::m_y_scale
SeFloat m_y_scale
Definition: MoffatModelFitting.h:113
SourceXtractor::MoffatModelFitting::getIterations
unsigned int getIterations() const
Definition: MoffatModelFitting.h:101
SourceXtractor
Definition: Aperture.h:30
SourceXtractor::MoffatModelFitting::m_iterations
unsigned int m_iterations
Definition: MoffatModelFitting.h:116
Property.h
SourceXtractor::MoffatModelFitting::m_top_offset
SeFloat m_top_offset
Definition: MoffatModelFitting.h:110
moffat_rotation
std::shared_ptr< EngineParameter > moffat_rotation
Definition: MoffatModelFittingTask.cpp:97
SourceXtractor::MoffatModelFitting::getXScale
SeFloat getXScale() const
Definition: MoffatModelFitting.h:89
SourceXtractor::MoffatModelFitting::m_x
SeFloat m_x
Definition: MoffatModelFitting.h:106
SourceXtractor::MoffatModelFitting::m_y
SeFloat m_y
Definition: MoffatModelFitting.h:106
SourceXtractor::MoffatModelFitting::getSize
SeFloat getSize() const
Definition: MoffatModelFitting.h:85
SourceXtractor::MoffatModelFitting::m_moffat_index
SeFloat m_moffat_index
Definition: MoffatModelFitting.h:108
x
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
Definition: MoffatModelFittingTask.cpp:93
SourceXtractor::MoffatModelFitting::getMoffatI0
SeFloat getMoffatI0() const
Definition: MoffatModelFitting.h:69
y
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
Definition: MoffatModelFittingTask.cpp:93
minkowski_exponent
std::shared_ptr< EngineParameter > minkowski_exponent
Definition: MoffatModelFittingTask.cpp:96
SourceXtractor::MoffatModelFitting::m_moffat_rotation
SeFloat m_moffat_rotation
Definition: MoffatModelFitting.h:114
moffat_i0
std::shared_ptr< EngineParameter > moffat_i0
Definition: MoffatModelFittingTask.cpp:96
SourceXtractor::MoffatModelFitting::m_size
SeFloat m_size
Definition: MoffatModelFitting.h:111
SourceXtractor::MoffatModelFitting::getY
SeFloat getY() const
Definition: MoffatModelFitting.h:65
SourceXtractor::MoffatModelFitting::getMoffatIndex
SeFloat getMoffatIndex() const
Definition: MoffatModelFitting.h:73