SourceXtractorPlusPlus 1.0.3
SourceXtractor++, the next generation SExtractor
Loading...
Searching...
No Matches
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
30namespace SourceXtractor {
31
33public:
34
35 virtual ~MoffatModelFitting() = default;
36
38 SeFloat x,
39 SeFloat y,
40 SeFloat moffat_i0,
41 SeFloat moffat_index,
42 SeFloat minkowski_exponent,
43 SeFloat top_offset,
44 SeFloat size,
45 SeFloat x_scale,
46 SeFloat y_scale,
47 SeFloat moffat_rotation,
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
70 return m_moffat_i0;
71 }
72
74 return m_moffat_index;
75 }
76
80
82 return m_top_offset;
83 }
84
85 SeFloat getSize() const {
86 return m_size;
87 }
88
90 return m_x_scale;
91 }
92
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
105private:
115
116 unsigned int m_iterations;
117};
118
119}
120
121#endif /* _SEIMPLEMENTATION_PLUGIN_MOFFATMODELFITTING_MOFFATMODELFITTING_H_ */
virtual ~MoffatModelFitting()=default
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)
Base class for all Properties. (has no actual content)
Definition Property.h:33
SeFloat32 SeFloat
Definition Types.h:32