SourceXtractorPlusPlus  0.14
Please provide a description of the project.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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,
48  unsigned int iterations) :
49  m_x(x),
50  m_y(y),
51  m_moffat_i0(moffat_i0),
52  m_moffat_index(moffat_index),
53  m_minkowski_exponent(minkowski_exponent),
54  m_top_offset(top_offset),
55  m_size(size),
56  m_x_scale(x_scale),
57  m_y_scale(y_scale),
58  m_moffat_rotation(moffat_rotation),
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_ */
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > x
SeFloat32 SeFloat
Definition: Types.h:32
std::shared_ptr< DependentParameter< std::shared_ptr< EngineParameter > > > y
Base class for all Properties. (has no actual content)
Definition: Property.h:33
std::shared_ptr< EngineParameter > minkowski_exponent
std::shared_ptr< EngineParameter > moffat_index
std::shared_ptr< EngineParameter > moffat_i0
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)
std::shared_ptr< EngineParameter > moffat_rotation
virtual ~MoffatModelFitting()=default